Adds the range iterator and its unit tests