adding unit testing for ServiceConfigLoader