Restored Avro serialization because of test fail