create unit tests ConstantIterator