Return bad error code when tests fail

Test Plan:

Broke test.
$ make
TESTS FAILED: 1
make: *** [test] Error 1
$ echo $?
1