:internal: implement assignment operator for node iterator, fix some bugs, some basic tests for the iterator