Lex passes basic tests