add test for initializing and iterator instance with two arrays in the collection