Switch dependency injection to use proxyquire