fix test cruft introduced by #2304
Merge pull request #2307 from rolandwalker/shutup_uri_tests

fix test cruft introduced by #2304