restore config for tests.