add external id uri mapping test