Refactoring of assertUrl call
Merge pull request #71 from jc7998/assertUrl

Refactoring of assertUrl call