Handle recording zero as test duration if no tests are available