assertEquals(1, result.size());
// find identity 1-3 via institutional id
result = ManagerFactory.getManager().getIdentitiesByPowerSearch(null, searchValue, false, null, null, null, null, null, null);
assertEquals(3, result.size());
// delete user now
UserDeletionManager udm = UserDeletionManager.getInstance();
udm.deleteIdentity(i1);
DBFactory.getInstance().commitAndCloseSession();
// check if deleted successfully
result = ManagerFactory.getManager().getVisibleIdentitiesByPowerSearch("judihui", null, true, null, null, null, null, null);
assertEquals(0, result.size());
// not visible, but still there when using power search