test subclass behavior for `parseAndAddChild` and `addChildNode`

To round out the `Node`/`Tree` subclass implementation, these tests
ensure that dynamically added nodes behave as expected with custom
subclasses.