Dependency injection tested.