Add more tests for the Scanner.