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

    String label = "Hello";
    String note = "note";
    String code = "http://thesaurus.test#0";
    String coordEast = "12";
    String coordWest = "5";
    String coordNorth = "30";
    String coordSouth = "20";
    writableThesaurus.addElement(code, label, note, coordEast, coordWest, coordSouth, coordNorth, "eng");
    assertElement(1, code, label, note, coordEast, coordWest, coordSouth, coordNorth);
    label = "Hello2";
    note = "note2";
    code = "http://thesaurus.test#1";
    writableThesaurus.addElement(code, label, note, coordEast, coordWest, coordSouth, coordNorth, "eng");
    assertElement(2, code, label, note, coordEast, coordWest, coordSouth, coordNorth);
}