tests: tests will not exit if error occurs but still will return an error code at the end if any one fails fixes #239
Merge pull request #240 from rvraghav93/develop

Fixes #239