Instead of using a config file in resources, include the config file content to be tested directly in the test.