Currently in process_junit_xml we're just looping through and capturing tests that had failures, but I believe errors are in a separate section in the XML. We need to make sure these are being captured and added to the JSON.
Relevant code:
https://github.com/octalmage/WP-Unit-Test-Runner/blob/master/functions.php#L108