tests: Move variable expansion into the Syntax test
Merge topic 'variable-expansion-tests' into next

ffee803e tests: Move variable expansion into the Syntax test