Dependency Injection and Testing Example