Return proper exit code based on whether tests succeeded or not.

Inspired by:
https://github.com/olabini/lein-test-out/commit/99533a08115f266440eed3c849d4eaf31f4b69d8