@Test
public void addChild() throws Exception {
module.open(null);
final int childCount = module.getChildCount();
final String aname = "test_a";
final IErlAttribute attribute = new ErlAttribute(module, aname, null, "test");
module.addChild(attribute);
final int childCount2 = module.getChildCount();
final IErlElement childNamed = module.getChildNamed(aname);
assertEquals(childCount + 1, childCount2);
assertEquals(attribute, childNamed);