@Test
public void testCompareTo_Shorter() throws Exception {

	DistinguishedName name1 = new DistinguishedName("cn=john doe, ou=Some company, c=SE");
	DistinguishedName name2 = new DistinguishedName("leaf=someleaf, cn=john doe, ou=Some company, c=SE");
	int result = name1.compareTo(name2);
	assertThat(result < 0).isTrue();
}