Corrected test.sh to get parent of parent dir