Fix URITests to work under Windows
Merge pull request #1230 from dansanduleac/uri-tests

Fix URITests to work under Windows