Changed how config is loaded for tests