try {
Schema schema = db.getSchemas("schema1a").iterator().next();
Series<Double> ser = db.getSeries("bt.schema1achro.fou", true);
assertEquals(42., ser.getValue(Workday.DOMAIN.time("2011-06-30")));
// renaming the series should be okay
UpdatableSchema sch1 = schema.edit();
//sch1.setSeriesName(1, "fooo"); next line should be equivalent
sch1.setAttributeDefault(1, 1, "fooo");
sch1.applyUpdates();
ser = db.getSeries("bt.schema1achro.fooo", true);
assertEquals(42., ser.getValue(Workday.DOMAIN.time("2011-06-30")));