Fix nock test