Fix test scripts to be resilliant about the working dir