In the XDM model the content of the Test element is a single text node. XDM does not allow two adjacent text nodes.
There are certainly XPath implementations, especially those running against a DOM, that get this wrong. You seem to be running against an implementation that has "cdata-section" nodes, which do not exist in XDM.