Update url view helper and add test case