Improved test coverage of the UriTemplateBuilder