Cd ~ test is flaky

I think the test runner might even add “red-herrings” that are not executable to test one’s shell behavior, based on this post: [Shell][Python] mg5 multiple my exe? - #5 by andy1li