CE-1018 Unit tests fix - mock deleteTask in update test