Added test for non-Promise yielding.