Add a test for entity expansion OOM in XmlTypeCheck