unit test + full_url function