Add output to TAP extended test result, when the test fails.