add test for generator with no result