LocalIterator + unitests