Bugfix in test.sh