added testing pre-commit. [ticket: 12345]