sg.getStatements().add(new BELStatement("p(AKT1) => g(EGID:1024)"));
sglist.add(sg);
final BELDocument beldoc = new BELDocument(dh, null, nsset, sglist);
// convert to common model
final BELDocumentConverter converter = new BELDocumentConverter();
final Document doc = converter.convert(beldoc);
// validate namespace group
final NamespaceGroup nsgroup = doc.getNamespaceGroup();
assertThat("More than one custom namespace exists.", nsgroup
.getNamespaces().size(), is(1));