:internal: some more tests and fixes for the node iterator