Lint and cover URI completely

* Add 100% code coverage
* Linted source and test
* More descriptive test messages