updated tests
added iterator