Set exit status to the number of failed tests.  This should fix issues with Travis.