fix exit failure reporting

If any tests fails then whole process exists with non-zero status code.

closes #18
1.0.5