unit tests: fix uritests
Merge pull request #417 from leofidus/1.7-uritests

unit tests: fix uritests