Added test for destroy