Set the exit status to reflect pass/fail.

For Travis compatibility, we set the exit code to non-zero when
any tests fail.

Fixes #5.