Add fix for delete Job Executions in tests

Added change in method delete_all_job_executions for delete Job Executions
Closes-bug: #1294153

Change-Id: I00a089419a8cf37911dfa3287127d9e90f3fa98d