make testresult look nicer on resultdetails

- prepare test duration frontend output