added unit test for iterators on snapshot