Non-zero exit when any of the tests fail

Fixes #1