test coverage for URI stuff
improved test coverage for URI stuff