Added mock and test for the original config, to replace the integration tests.