Test that the Document constructor returns an XML document.