add test for friendly uri generator function
Add fn to convert canonical uri to friendly uri