Test pre-commit