Non-zero exit when any of the tests fail

Fixes #1
Add TAP output to test.tap for CI consumption
Merge pull request #3 from domcleal/tap

Add TAP output to test.tap for CI consumption
Merge pull request #2 from domcleal/fail

Non-zero exit when any of the tests fail