Fixes incorrect test and corresponding issue with jobs not short

circuiting when the state is DEAD.

USERGRID-1482