100% test coverage for uri.py