Run tests before each commit.