Dependency injection added for Mocks and tested objects.