@Test
public void idcCreationTest() throws Exception {

    Ebts ebts = new Ebts();
    GenericRecord type1 = new GenericRecord(1);
    type1.setField(3, new Field("0400"));
    type1.setField(8, new Field("WVMEDS001"));
    GenericRecord type2 = new GenericRecord(2);
    type2.setField(2, new Field("04"));
    type2.setField(19, new Field("Smith,John"));
    GenericRecord type10 = new GenericRecord(10);
    ebts.addRecord(type1);
    ebts.addRecord(type2);
    ebts.addRecord(type10);
    ebts.addRecord(type10);
    ebts.addRecord(type10);
    byte[] data = new EbtsBuilder().build(ebts);
    ebts = new EbtsParser().parse(data);
}