added iterator tests