unit test for the url_date method