elem = new Element( "hasForms");
elem.addContent("yes");
docElem.addContent (elem);
XmlContentConverter conv = new XmlContentConverter ();
DocumentMD dmd = (DocumentMD) conv.toDocumentMD (docElem);
List<Feature> features = dmd.getFeatures ();
assertTrue (features.size() == 1);
Feature feature = features.get(0);
assertTrue (feature == Feature.hasForms);