tests for destroy action