private void testBooleanValues() {
    ColumnBuffer boolColumn = new ColumnBuffer(Type.BOOLEAN_TYPE);
    boolColumn.addValue(Type.BOOLEAN_TYPE, true);
    boolColumn.addValue(Type.BOOLEAN_TYPE, false);

    assertEquals(Type.BOOLEAN_TYPE, boolColumn.getType());
    assertEquals(2, boolColumn.size());
    assertEquals(true, boolColumn.get(0));
    assertEquals(false, boolColumn.get(1));
  }
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