Missed expect.
Added generator test.