Add test case for simple Buffer functionality