Make test runner a bit more resilient to the case when 0 test trials actually finish.