remove dependency on nock