Add tests for config-loader.