[fold] Unit tests for Yield