Improved test statistics logging