Correctly sets SETTINGS for config.TestConfig when running unit tests