Add test for XML entities in NDMs
No modifications to the main code, just adding tests in an attempt to prevent future modifications from inadvertently adding a security risk.
Following the new guide attempting to merge into release-11.2. Tell me if I'm doing it wrong.