for iterator tests