lex_test.go: Fix DRY