Problem: Highlight test script has a few problems. Solution: Rewrite the script in Vim9 syntax. (closes #10379)