Refactor test code for get_calendar_url() #17