Removes hook test.