add tests with generic arg-passing between Yield and Resume