@Test
public void testCreateRandomUUIDRemoveDashes() throws Exception {

    String uuid = Misc.createRandomUUID(true);
    assertNotEquals(uuid.substring(8, 9), "-"); // assert that dashes are removed
    assertEquals(32, uuid.length());
}