tests for deleting