Added some tests for iterators