test(unit): adding some test on hooks attributes