testing if git pre-commit hook works