lexer outputs array, fixed tests