public void testUmFindCharsetPropertyByIdentity() throws Exception{
UserManager um = UserManager.getInstance();
User testuser = um.loadUserByKey(u1.getKey());
Manager sm = ManagerFactory.getManager();
Identity identity = sm.findIdentityByName(u1.getProperty(UserConstants.LASTNAME, null));
um.setUserCharset(identity, WebappHelper.getDefaultCharset());
DBFactory.getInstance().closeSession(); // simulate user clicks
String charset = um.getUserCharset(identity);