Dependency injection cake test