Test for destroy dependency.