Testing for Dependency Injection.