Test `http://example.com#foo?bar` instead to make sure `path` is set correctly in this scenario?