url: add more tests for url.format with path field

- pathname vs. path, pathname wins
- pathname with query/search
- path vs. query, query wins
- path vs. search, search wins