Added HooksTest

Signed-off-by: Darren Hill <dchill42@gmail.com>