@Test
public void testDifferentKeys() {

  ColumnBuffer columnBuffer = new ColumnBuffer();
  columnBuffer.add(new Key("row1"), new Value());
  try {
    columnBuffer.add(new Key("row2"), new Value());
    Assert.fail();
  } catch (IllegalArgumentException e) {
  }
}