Fix delayed job integration

Our delayed_job integration is passing the Job object here, not a Hash. 

I've added a test for this.
weird indentation here