Add test for destroy and set/get