Add set -e to propogate test failures upwards