@Test
public void testTokenInvalidVersionValue() {

    PrincipalToken token = new PrincipalToken("v=S1=S2;d=coretech;n=storage");
    assertEquals(token.getName(), "storage");
    assertEquals(token.getDomain(), "coretech");
    assertNull(token.getVersion());
}