iterator tests