SHELL is not a function so the parens () are superfluous.
Shell '%comspec% /c ' + $test ;does it!

The solution to the macro may be to Execute() it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.