SimpleGroup sg2 = new SimpleGroup("sg1");
sg1.addMember(sp1);
sg2.addMember(sp2);
NestableGroup ng = new NestableGroup("TestGroup");
//Add principals to the NestablePrincipal
ng.addMember(sg1);
ng.addMember(sg2);
assertTrue("ng.isMember(sp2)", ng.isMember(sp2));
//Clone the NestableGroup
NestableGroup clonedNP = (NestableGroup)ng.clone();