fix for case of empty generator list
general length test