Fix tests failing on ProcessingInstruction nodes not having proper Node interface.