Start by duplicating the test case "should stash a restricted job that is currently restricted", but queue up multiple jobs (replace run_resque_job with enqueue), and don't unrestrict the job at the end