test destroy model method