Add tests for Lexer.