Test for LexerException