modified tests so they work cross platform on windows

Need the tests to run on windows so changed the tests not to assume unix style paths but to be portable instead.
URL.equals does network lookups for http but maybe not for file: ... still kinda scares me to ever use URL.equals since it's normally unsafe to do so. We could .toExternalForm both sides of this perhaps.