dunno how to redefine scanner from ConsoleScanner to MOckScanner in tests