Added a unit test pre-commit hook