Fix #335

Accumulates each test result in a `JUnitSuiteReport` instance, then logs the result when the suite is over.

This way, the correct total/fail values are output in the top-level `<testsuite>` element.