lexer test for code-in-list