Make remove old job also remove cancelled job.
Add test for remove cancelled job.