Add simple unit tests for ServiceLocatorAwareLoader