also a test with several levels of relative path would be good

`array('../../foo', 'http://localhost/bar/baz/', 'http://localhost/foo'),`