wrote a test for naivetreenode::eq