check if the test duration exists before dividing, this allows for a numeric time when a test fails instead of NaN