Improve array iterator tests