Add test for hooks
Merge pull request #23 from square/ptseng/hooktest

Add test for hooks