Test that you cannot delete a task if it is a dependency