Added a warning about direct settings manipulation in tests.

Thanks Thomas Chaumeny for the initial patch.