Test for commit hook