Updated ScannerTest class to display token names