Changed alias mock test

"ps" was resolving to ps.exe when using PowerShell with the Git client on the search path.  Switched
the test to mock "dir" instead, which is less likely to have a conflict.