public void test_20() {
try {
Chronicle chronicle = db.getChronicle(CHRONICLE, true);
assertEquals(1, chronicle.getSchema(true).getSeriesDefinitions().size());
Schema s0 = chronicle.getSchema(true);
UpdatableSchema usch = s0.edit();
usch.addSeries(4);
usch.setSeriesName(4, "test4");
usch.setSeriesType(4, "numeric");
usch.setSeriesTimeDomain(4, Day.DOMAIN);
assertEquals(2, usch.getSeriesDefinitions().size());