Added tests to lexer.