Yield in a smarter way.

I'll need to add this to the testing framework somehow
("require_eventually" or something).