Function property assignments can also be generators.
Add tests for function property assignment generators.