test for delete model