Test failure should cause nonzero exit status