@SuppressWarnings("deprecation")
@Test
public void testAddElementStringStringStringString() throws Exception {

    String label = "Hello";
    String note = "note";
    String code = "http://thesaurus.test#0";
    writableThesaurus.addElement(code, label, note, "eng");
    assertElement(1, code, label, note, "", "", "", "");
    label = "Hello2";
    note = "note2";
    code = "http://thesaurus.test#1";
    writableThesaurus.addElement(code, label, note, "en");
    assertElement(2, code, label, note, "", "", "", "");
}