Completed tests for Lexer.