test pre-commit script