Finish UrlResolver tests, fix some bugs.
Reuse promises of same source.