Added test for Buf