Improved test logging output.