Add intermediate avro object unit test