log.println("Remove the PropertyValue.");
xCont.removeByName("prop1");
assure("Could not remove PropertyValue.", !xCont.hasElements());
log.println("Insert again.");
xCont.insertByName("prop1", prop1);
xCont.insertByName("prop2", prop2);
assure("Did not insert PropertyValue.", xCont.hasElements());
String[] names = xCont.getElementNames();
int count = 0;
for (int i=0; i<names.length; i++) {
if (names[i].equals("prop1") || names[i].equals("prop2"))