Prevent transient failures caused by slow test execution.

Testling would occasionally fail the `Promise.race` test because test
execution on the browser under test was so slow that all the delayed
promises would complete "at once".  Ensure that even if this happens
the test gives the correct answer.