Added tests for lexer.