safe object at index test