add tests for parser and lexer