Fixing command tests to run from another directory