clean up resource loader
tests for mongo connection factory
tests for settings provider