Raise exception if any test(s) has failed