public void CoCRoundTrip() throws Exception {
Aggregates<CategoricalCounts<Color>> ref = cocs;
File file = new File("./testResults/coc.avro");
try (OutputStream out = new FileOutputStream(file)) {
Schema s = new SchemaComposer().addResource(AggregateSerializer.COC_SCHEMA).resolved();
AggregateSerializer.serialize(ref, out, s, new Converters.FromCoC(s));
Aggregates<CategoricalCounts<String>> res
= AggregateSerializer.deserialize(file, new Converters.ToCoC());
assertEquals(ref.lowX(), res.lowX());