private final static boolean test4() {
		try {
			String buffer = "";
			Privileges privs = getNewPrivilegesInstance();
			privs.setRegisteredPrivileges(toArrayList(PRIVS_ALL));
			
			privs.addGroup(new PrivilegeGroup("nobody", "Nobody", null, toArrayList(PRIVS_WILD), toArrayList(PRIVS_NONE), BasicPrivGroup.NOBODY));
			privs.addGroup(new PrivilegeGroup("owner", "Owner", "guest", toArrayList(PRIVS_A), toArrayList(PRIVS_B), BasicPrivGroup.OWNER));
			privs.addGroup(new PrivilegeGroup("guest", "Guest", null, toArrayList(PRIVS_A), toArrayList(PRIVS_NONE), BasicPrivGroup.GUESTS));
			privs.addGroup(new PrivilegeGroup("strange", "Strange", "guest", toArrayList(PRIVS_NONE), toArrayList(PRIVS_C)));
			
			privs.addUser(new User("Baron", "owner"));
			privs.addUser(new User("OrrinFox", "guest"));
			privs.addUser(new User("DeathShadow--666", "strange"));
			
			privs.fromJSON(privs.toJSON(), -1);
			
			buffer += ("Nobody Privs: " + privsToString(privs.getGroupPrivileges(privs.getGroup("Nobody")))) + "\n";
			buffer += ("Owner Privs: " + privsToString(privs.getGroupPrivileges(privs.getGroup("Owner")))) + "\n";
			buffer += ("Guest Privs: " + privsToString(privs.getGroupPrivileges(privs.getGroup("guest")))) + "\n";
			buffer += ("Strange Privs: " + privsToString(privs.getGroupPrivileges(privs.getGroup("strange")))) + "\n";
			
			buffer += ("Baron Privs: " + privsToString(privs.getUserPrivileges(privs.getUser("baron")))) + "\n";
			buffer += ("OrrinFox Privs: " + privsToString(privs.getUserPrivileges(privs.getUser("OrrinFox")))) + "\n";
			buffer += ("DeathShadow--666 Privs: " + privsToString(privs.getUserPrivileges(privs.getUser("DeathShadow--666")))) + "\n";
			
			return privs.getGroup(BasicPrivGroup.OWNER) == privs.getGroup("Owner") && privs.getGroup("Owner").getBasicGroup() == BasicPrivGroup.OWNER && privs.getGroup("strange").getBasicGroup() == null && buffer.equals("Nobody Privs: a, b, c, d, e, f, g, h, i\nOwner Privs: a, b, c, a, b, c\nGuest Privs: a, b, c\nStrange Privs: b, c\nBaron Privs: a, b, c, a, b, c\nOrrinFox Privs: a, b, c\nDeathShadow--666 Privs: b, c\n");
		}
		catch(Exception e) {
			e.printStackTrace();
			return false;
		}
	}