Fix lexer test cases