Improved hook tests
Merge pull request #124 from marcioj/mj-improved-hooks-test

Improved hook tests