Avoid infinite loops when the testsuite gets larger