improved test result printing