Added more unit tests for the location
Added more tests (e.g. file protocol)
Improved relative detection and URL serialization