Fix the config issue in tests.