added nock as a dependency.