Changes AllValuesIterator to cover all values, even past reaching totalCount, and adds manual duplication test