delete test hook