Fixed relative paths when url has other scheme than root
Extra test for schemes