public static String normalize(final String path) {
        return normalize(path, true);
    }
@Test
    public void testDot() {
        assertEquals("/p", PathNormalizer.normalize("/p/."));
        assertEquals("/", PathNormalizer.normalize("/."));
    }