Fix test counting, should fix RT #79544.
Turns out we were checking only the "error" path, but the non-error path has two tests, while the error has one.
Hence, 3*5 = 15 rather than 3*6 = 18, which accounts for the missing three items in the report.
Note latest change