add set -e to bash tests