Update unit test for generator change