Fix test duration reporting with multiple threads