hook test revert