Fixed generator test