Create unit test for domain and url of routes