Fix #34

We now exit 1 iff the pytests fail.