add test for delete