Fix job status handling on exception for tests
Merge pull request #29 from squireg/jobsub

Fix job status handling on exception for tests. Minor change only.