test Buffer