final testcases of lexer