  @Test
  public void testAvroExhibitFrame() {

    GenericData.Record in1 = new GenericData.Record(inner);
    in1.put("f1", null);
    in1.put("f2", true);
    in1.put("f3", 1729);
    GenericData.Record in2 = new GenericData.Record(inner);
    in2.put("f1", "josh");
    in2.put("f3", 29);
    List<GenericData.Record> recs = Lists.newArrayList(in1, in2);
    GenericData.Record o1 = new GenericData.Record(outer1);
    o1.put("id", 17);
    o1.put("short", "jw");
    o1.put("ifoo", recs);

    Exhibit exhibit = AvroExhibit.create(o1);
    assertEquals(17, exhibit.attributes().get("id"));
    assertEquals("jw", exhibit.attributes().get("short"));
    Frame f = exhibit.frames().get("ifoo");
    assertNotNull(f);
    assertEquals("Num obs in Frame", 2, f.size());
    assertEquals(null, f.$("f1").get(0));
    assertEquals("josh", f.$("f1").get(1));
    assertEquals(true, f.$("f2").get(0));
    assertEquals(null, f.$("f2").get(1));
    assertEquals(1729, f.$("f3").get(0));
    assertEquals(29, f.$("f3").get(1));
  }