Fixed and added Avro tests.