Added test duration formatting.