unless the scenario passed, dont assert the exit status

The TERM scenario was failing in the After hook because it didn't have an exit status even, though all of its steps were skipped.  This commit checks that the scenario has passed before asserting the exit status.