Fixed hook tests