tested serializing and deserializing a nested avro object