Added tests for yields