Add test case for foreach in ChunkedIterator. Also add key() to ChunkedIterator to being able to get the index of the ChunkedIterator
Implement Iterator instead of extending IteratorIterator