This test verifies that DOM nodes are not retained just because a wrapper exists and is protected for a sibling. A wrapper must exist for the node itself or for an ancestor.

The output should be the following pieces of text on lines by themselves: "replacement content", "B".

replacement content
B

