verify = function(index, row) {
    var expected = (index == 0) ? CONTENTS : CONTENTS2;
    assertEquals(2, row['R']);
    assertEquals(0, row['T']);
    assertEquals(23, row['P']['foo']);
    assertEquals(expected['id'], row['P']['id']);
    assertEquals(expected['name'], row['P']['name']);
  }
@param {number} index
@param {!Object} row