fixes to the failure reporting and test parsing