Formatting duration in hh:mm:ss for test cases as well