unit test cases for simple-scanner.