Fixed continuing to run tests, which should not be run, on hook fail