adding test for destroy