Test for destroy action.