Fix serialization tests for avro, which can't serialize everything