Fixed test_iterator.py

Fixed error with IteratorRange initialization