Adjusted Avro Input Format for new Java API.
Adjusted test case for externally packaged avro program.