fish: Variables may not be used as commands. In fish, please define a function or use 'eval $test'.
exec $test
     ^
fish: Variables may not be used as commands. In fish, please define a function or use 'eval "$test"'.
exec "$test"
     ^
