Run the tests in the pre-commit hook.

The test target is expected to exit with non-zero status on failure

see http://blog.securemacprogramming.com/2013/11/automated-tests-with-the-gnustep-test-framework/