Wrap output with url.parse

- Use node's url library to wrap the outputted path. This is helpful for making modifications beyond what the URL generator does.
- Update unit tests to work with this change