Test for dependent destroy of work orders