unit test update to test urls with domains and spaces

for pull request #5966