Tests Buffer