make generator test pass