@Test
public void append() {

    AddressTemplate at = AddressTemplate.of("a=b");
    at = at.append("c=d");
    assertEquals("a=b/c=d", at.getTemplate());
    at = AddressTemplate.of("a=b");
    at = at.append("/c=d");
    assertEquals("a=b/c=d", at.getTemplate());
}