Generator fixes
Generator for-of tests