Fixes an issue where the configuration file was required during testing.