TestLexer

Ported from Javascript.