tests: tests will not exit if error occurs but still will return an error code at the end if any one fails fixes #239