exit early in test.sh