[Alberto/Vivian] refactored urlhelper spec