fix tests for win32 - local paths are NOT URLs

--HG--
extra : rebase_source : 48a48c732d63f466b845af1ebf6e27091405fc16
python 3 fixes

--HG--
extra : rebase_source : 7bee297054a17cee778109cd465625870e2af8eb
clean up test changes
clean up test changes
safety fixes in tests