Fix nock testing