adds test to lex operations