Added tests for lexing