test for model's method destroyWith