test case for buffer service