tests for iterator block
iterator block
updated readme with iterator block