Fixes incorrect test and corresponding issue with jobs not short
circuiting when the state is DEAD.

USERGRID-1482
Merge pull request #124 from apigee/USERGRID-1482

Fixes incorrect test and corresponding issue with jobs not short