fixed some unit tests
minor
yield: Allow TFor to be optimized before changing it to unoptimized form
yield: Pattern matching working