Can we add tests for `wait_for_condition`?  (I think I know where to find some. :-)