add tests for failing job submitted to spooler