Implemented a rudimentary TestBuffer
Changed makefiles of scanner and TestScanner