EXP-292. Modfiy testing framework to return avro records of the correct type (specific or generic).

issue: https://jira.kiji.org/browse/EXP-292
review: https://review.kiji.org/r/1350