added pre-commit binding to run tests
tweak pre-commit tasks