fix for RT78933 from Malcolm Parsons

Errors vs. failures were mixed up.

Patch applied from RT cleanly, plus plan failure message
check changed to look at errors instead of failures & new
expected test output
Release 0.40