Changing the way the configuration is loaded for tests