Test del method iterate