@Test
public void testMakeQualified() throws IOException {

	String path;
	Path p;
	URI u;
	path = "test/test";
	p = new Path(path);
	u = p.toUri();
	p = p.makeQualified(FileSystem.get(u));
	u = p.toUri();
	assertEquals("file", u.getScheme());
	assertEquals(null, u.getAuthority());
	assertEquals(FileSystem.getLocalFileSystem().getWorkingDirectory().toUri().getPath() + "/" + path, u.getPath());
	path = "/test/test";
	p = new Path(path);
	u = p.toUri();
	p = p.makeQualified(FileSystem.get(u));
	u = p.toUri();
	assertEquals("file", u.getScheme());
	assertEquals(null, u.getAuthority());
	assertEquals(path, u.getPath());
}