adding iterator on cursor
testing cursor capabilities