unit-test: make "test -e" test independent of $CWD