tests for UriUtils.js