added nock as dev dependency