Testing Dependency Injection in Scala