@Test
public void testInitialize()
        throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {

    Class<PrincipalAuthority> c = PrincipalAuthority.class;
    PrincipalAuthority principalAuthority = new PrincipalAuthority();
    System.setProperty(PrincipalAuthority.ATHENZ_PROP_TOKEN_OFFSET, "-1");
    principalAuthority.initialize();
    Field f1 = c.getDeclaredField("allowedOffset");
    f1.setAccessible(true);
    int m = (Integer) f1.get(principalAuthority);
    assertEquals(m, 300);
    assertEquals(principalAuthority.userDomain, "user");
}