handle refersTo links in deleteObject()
test deleting a TopObject is not allowed