Added unit tests for uriparser.js