switch back to (a simpler form of) tests reporting their exit code
make sure stdout and stderr are synchronized when possible