lexer.parse() method was fixed
Test for the lexer.parse() method was added