Fixed tests and laziness, by turning iterable into iterators inside for-comprehension