@Test
public void testIsValidAuthorizedServiceTokenStandardToken() {

    // testing standard token
    String token = "v=S1;d=domain;n=service;t=1234;e=1235;k=0;h=host1;i=1.2.3.4;s=signature";
    PrincipalToken svcToken = new PrincipalToken(token);
    StringBuilder errMsg = new StringBuilder();
    assertTrue(svcToken.isValidAuthorizedServiceToken(errMsg));
}