groupCreated = vmGroupClient.createInstanceGroup(name);
assertEquals(groupCreated.getName(), name);
Set<VMGroup> search = vmGroupClient.listInstanceGroups(ListVMGroupsOptions.Builder.name(name));
assertEquals(1, search.size());
VMGroup groupFound = Iterables.getOnlyElement(search);
assertEquals(groupFound, groupCreated);
vmGroupClient.deleteInstanceGroup(groupCreated.getId());
groupCreated = null;
}