Checking in tree node and tests.