Hook tests

Signed-off-by: Vlad <vg@vladgh.com>