Lex test cases