improve lexer test struct