test case for lexer movement