updated nock spec and fixed line numbers