Testing the lexer