Make test.sh insist on a correct working directory