DynamicXml object itself will test whether the stripped values match or not. Have updated/created unit tests to confirm this functionality.
Fixed up a heap of failing unit tests.