Make time limit tests pass more safely