assertEquals(1,x2.size());
assertEquals(1,x3.size());
assertEquals(1,x4.size());
// Testing toAttributes()
assertEquals(0,x2.toAttributes().toString().compareToIgnoreCase(x1.toAttributes().toString()));
assertEquals(0,x4.toAttributes().toString().compareToIgnoreCase(x1.toAttributes().toString()));
assertNotNull(x3.toAttributes());
} catch (InvalidNameException e) {
fail("Failed with:"+e);
}