test the delete