add avro writer test