debugging test.sh