fixed hook test
fixed need test for Krimdomu/Rex#260