Test for lex file