@Test
public void shouldSetGenreFromTypeForTheses() throws IOException, ParseException {

    BibTeXDatabase db = loadUnixDatabase();
    BibTeXEntry e = db.resolveEntry(new Key("Wang:2002:DIR"));
    BibTeXConverter conv = new BibTeXConverter();
    CSLItemData cid = conv.toItemData(e);
    assertEquals("CSL 'type' not set", CSLType.THESIS, cid.getType());
    assertEquals("CSL 'genre' not set", "Thesis (Ph.D.)", cid.getGenre());
}