#779 better URI generation for file in test
Merge pull request #788 from krzyk/779

#788: pull request #779 better URI generation for file in test