Timeout limit of 255 seconds too small; I wanted around 10 minutes so set it to 999 (no compiler warning) and of course it timed out.
I suggest that TimeoutType be changed from uint8_t to uint16_t. I have not checked what follow-on changes may be needed.
PS Maybe allow per test timings?