test pre commit hook