added tests for yield in switch & for loop expressions