@Test
public void testClone() {

	DistinguishedName path1 = new DistinguishedName("cn=john.doe, OU=Users,OU=Some company,C=SE");
	DistinguishedName path2 = (DistinguishedName) path1.clone();
	assertThat(path2).as("Should be equal").isEqualTo(path1);
	path2.removeFirst();
	assertThat(path1.equals(path2)).isFalse();
}