Fixed generator test.