dependency injection test