@Test
public void testSubAddress()
{

   PathAddress address = PathAddress.pathAddress("one", "two", "three");
   assertEquals(PathAddress.pathAddress("two", "three"), address.subAddress(1));
   PathAddress sub1 = address.subAddress(1, 3);
   assertEquals(PathAddress.pathAddress("two", "three"), sub1);
   PathAddress sub2 = address.subAddress(2, 3);
   assertEquals(PathAddress.pathAddress("three"), sub2);
}