tests(compareUrl): add tests for compareUrl service

Closes #253