Exit with non-zero if the tests failed.
Add travis yaml
Merge pull request #1 from parkr/exit-1-if-failed

Improve tests