update unit test case for SegmentalByteBuffer