Added missing tests for DI ServiceLocator