final Element root = d.getRootElement();
assertEquals("project", root.getName());
assertEquals(1, root.selectNodes("/project/*").size());
assertEquals(1, root.selectNodes("node").size());
//weird attr name will be set as attribute subelement
assertNotNull( root.selectSingleNode("node/attribute"));
List list = root.selectNodes("node/attribute");
assertEquals(2, list.size());
Node attr1 = (Node) list.get(0);
assertEquals("another:attribute", attr1.selectSingleNode("@name").getStringValue());