remove dependency on requireMock