Make test not tests in pre-commit hook