<node tests> - Update shell_exec_func_test to create homedir in /var/tmp

Creating the user homedir in /tmp has caused issues, moving the homedir
creation to /var/tmp to prevent these issues.