Tag iterator in document, first tests, WIP