@Test
public void testCompoundingStrict() {

    // this tests strict creation of a new shortform
    URIUtils.PrefixCreationMode prefixCreationMode = URIUtils.PrefixCreationMode.CREATE;
    URIUtils.ShortformStrictness strictness = URIUtils.ShortformStrictness.STRICT;
    String result;
    result = URIUtils.getShortform(uri6, strictness, prefixCreationMode);
    System.out.println("Shortened " + uri6 + " -> " + result);
    assertFalse("Short form results in an invalid localname", result.contains("/") || result.contains("#"));
}