TreeIterator: Tests and Fixes

**Work In Progress.**

Continuing to improve our tests. This time — `TreeIterator`.

Implementing tests according to `Mozilla AST`. Found one unexpected behaviour.
We do not currently do iteration over `key`'s, `id`'s, parameters and so on.