Add @DefaultDataContext in test when necessary

As done in Orekit, add the @DefaultDataContext annotation for test with warning.