`matchNodeType` is being passed an instance of `stdClass` here, when it actually accepts a `NodeInterface`.

The test uses `->isNodeType` with the nodetype filter. So either we instantaite create node first then check it, or we duplicate the filter checking logic and perform it on the `stdClass` ??