@Test(expected = DataException.class)
public void testInvalidMapKeyElements() {

    new Struct(NESTED_SCHEMA).put("map", Collections.singletonMap("should fail because keys should be int8s", (byte) 12));
}