Fix makefile and hook test
Merge pull request #174 from vmoravec/hook-test-fix

Fix makefile and hook test