Test userCanWaitWhileConditionIsMet is made safer.