Test of the hook