Make the tests bullet-proof against timing differences.