added mocha test for uriManager module and replaced regex with url api
started adding tests