private void testBinaryValues() {
    ColumnBuffer binaryColumn = new ColumnBuffer(Type.BINARY_TYPE);
    binaryColumn.addValue(Type.BINARY_TYPE, new byte[]{-1, 0, 3, 4});

    assertEquals(Type.BINARY_TYPE, binaryColumn.getType());
    assertEquals(1, binaryColumn.size());
    assertArrayEquals(new byte[]{-1, 0, 3, 4}, (byte[]) binaryColumn.get(0));
  }
Test if the nulls BitSet is maintained properly when we extract subset from ColumnBuffer.
E.g. suppose we have a ColumnBuffer with nulls [0, 0, 1, 0]. When we split it evenly into
two subsets, the subsets should have nulls [0, 0] and [1, 0] respectively.
serde/src/test/org/apache/hadoop/hive/serde2/thrift/TestColumnBuffer.java