[PATCH 13/43] testParseXMLDocFromFile: Validate that the replaced node is identical with parsed root