Fixed generator tests.