add single buffer test for buffer module