Updated tests for NewLexer