Added test case to reproduce error
Fixed missing done
No longer saves stale jobs
Added agenda.cancel funtion