Add the ability to run tests in precommit hook and in the CI.
Add the ability to run tests in precommit hook and in the CI.