Support passing in arguments or an array of urls
Added tests for findCommonUlPrefix