throw error if tests don't pass
Merge pull request #161 from cloudedge/travis1

throw error if tests don't pass