Subject new_user = new Subject("dummy-user", true, false);
new_user = subjectManager.createSubject(overlord, new_user);
Role new_role = new Role("dummy-role");
RoleManagerLocal roleManager = LookupUtil.getRoleManager();
new_role = roleManager.createRole(overlord, new_role);
// new_user.addRole(new_role);
int[] subjectIds = new int[] { new_user.getId() };
roleManager.addSubjectsToRole(overlord, new_role.getId(), subjectIds);
assert new_role.getSubjects().contains(new_user) : "New_role does not contain new_user";
int count = new_role.getSubjects().size();
subjectManager.deleteUsers(overlord, subjectIds);