test_result: fix display of durations
- str() because in ERP5JS the duration are directly serialized to json, which is not allowed.
- int() to have a second level precision, which is more readable.
This will create a new commit in order to revert the existing changes.