buffer & scannerTest update