separate lex testing from lex