test for deletion