@Test
public void testExtendedMinority() throws Exception {

	byte[] idFile = IOUtils.toByteArray(TlvParserTest.class.getResourceAsStream("/extended-minority.tlv"));
	Identity identity = TlvParser.parse(idFile, Identity.class);
	LOG.debug("special status: " + identity.specialStatus);
	assertEquals(SpecialStatus.EXTENDED_MINORITY, identity.specialStatus);
	assertFalse(identity.specialStatus.hasBadSight());
	assertTrue(identity.specialStatus.hasExtendedMinority());
	LOG.debug("special organisation: \"" + identity.getSpecialOrganisation() + "\"");
	assertNull(identity.getSpecialOrganisation());
}