Updated the docs and tests to ensure that relative URIs can be constructed.