add tests for url service