Updating assertDeleted to check both HEAD and GET, and only accept 410 Gone (not 404 Not Found)