@Test
public void testSetField(){

    CategorizedString cs = new CategorizedString(new StringLiteral("youhou"));
    assertTrue(cs.getField().equals(""));
    cs.setField("potato");
    assertTrue(cs.getField().equals("potato"));
    RealAttribute vf = new RealAttribute("height");
    Categorize2String c2s = new Categorize2String(new StringLiteral("youhou"),new StringLiteral("fallback"), vf);
    cs = new CategorizedString(c2s);
    assertTrue(cs.getField().equals("height"));
    cs.setField("new");
    assertTrue(cs.getField().equals("new"));
    assertTrue(vf.getColumnName().equals("new"));
}