tests: Fix iter_eq to handle iterators of different length
tests: Fix iter_eq to handle iterators of different length

bhickey/rand,waynenilsen/rand,retep998/rand,ebfull/rand,arthurprs/rand,shepmaster/rand,achanda/rand