Fix ignored last test in test4.xml

Because it had other (unknown for now) elements.
The test4.xml file seems broken on the number of tests, fixing.
Support system-out / system-err elements
Support multiple results in a testcase again

I have not seen it in the wild yet, and it probably still won't work on
internal consistency tests; but at least the parsing is clean.