Return nonzero exit code if tests fail.