Fix wrong history job key for dependency delayed jobs
Add test for missing delayed event in dependant job
Add test for missing delayed event in dependant job