Fix up url helper unit tests
Fix up url helper unit tests

Closes #2817
-use async semantics for tests
-fix api.settings.read stub for the url helper describe block
-rename test to describe actual behavior (return '/' instead of '')

nmukh/Ghost,greenboxindonesia/Ghost,SachaG/bjjbot-blog,AlexKVal/Ghost,jorgegilmoreira/ghost,theonlypat/Ghost,shannonshsu/Ghost,nmukh/Ghost,greyhwndz/Ghost,praveenscience/Ghost,schneidmaster/theventriloquist.us,Bunk/Ghost,javimolla/Ghost,kevinansfield/Ghost,tmp-reg/Ghost,novaugust/Ghost,ygbhf/Ghost,Shauky/Ghost,InnoD-WebTier/hardboiled_ghost,dbalders/Ghost,ineitzke/Ghost,disordinary/Ghost,JonSmith/Ghost,lethalbrains/Ghost,benstoltz/Ghost,chris-yoon90/Ghost,no1lov3sme/Ghost,liftup/ghost,daimaqiao/Ghost-Bridge,bbmepic/Ghost,akveo/akveo-blog,Rovak/Ghost,patterncoder/patterncoder,load11/ghost,cysys/ghost-openshift,kortemy/Ghost,wspandihai/Ghost,hilerchyn/Ghost,jgillich/Ghost,ThorstenHans/Ghost,sebgie/Ghost,tanbo800/Ghost,jorgegilmoreira/ghost,dYale/blog,Netazoic/bad-gateway,kaychaks/kaushikc.org,lethalbrains/Ghost,smedrano/Ghost,ryansukale/ux.ryansukale.com,wangjun/Ghost,eduardojmatos/eduardomatos.me,Netazoic/bad-gateway,rouanw/Ghost,manishchhabra/Ghost,kolorahl/Ghost,ineitzke/Ghost,sceltoas/Ghost,neynah/GhostSS,ITJesse/Ghost-zh,jacostag/Ghost,atandon/Ghost,mlabieniec/ghost-env,JohnONolan/Ghost,djensen47/Ghost,Feitianyuan/Ghost,netputer/Ghost,developer-prosenjit/Ghost,davidenq/Ghost-Blog,ygbhf/Ghost,TryGhost/Ghost,codeincarnate/Ghost,bosung90/Ghost,mhhf/ghost-latex,ErisDS/Ghost,sergeylukin/Ghost,sergeylukin/Ghost,Azzurrio/Ghost,letsjustfixit/Ghost,johnnymitch/Ghost,llv22/Ghost,optikalefx/Ghost,PepijnSenders/whatsontheotherside,mohanambati/Ghost,gabfssilva/Ghost,Japh/Ghost,shrimpy/Ghost,kolorahl/Ghost,edsadr/Ghost,gleneivey/Ghost,pbevin/Ghost,TryGhost/Ghost,notno/Ghost,bitjson/Ghost,Smile42RU/Ghost,francisco-filho/Ghost,situkangsayur/Ghost,dqj/Ghost,BlueHatbRit/Ghost,thinq4yourself/Unmistakable-Blog,rizkyario/Ghost,cwonrails/Ghost,scopevale/wethepeopleweb.org,bitjson/Ghost,Kaenn/Ghost,allanjsx/Ghost,VillainyStudios/Ghost,veyo-care/Ghost,etanxing/Ghost,Romdeau/Ghost,laispace/laiblog,katrotz/blog.katrotz.space,kwangkim/Ghost,floofydoug/Ghost,yundt/seisenpenji,k2byew/Ghost,mttschltz/ghostblog,Remchi/Ghost,ananthhh/Ghost,BayPhillips/Ghost,yanntech/Ghost,ManRueda/Ghost,lukaszklis/Ghost,mattchupp/blog,hoxoa/Ghost,beautyOfProgram/Ghost,Jai-Chaudhary/Ghost,PDXIII/Ghost-FormMailer,bigertech/Ghost,cqricky/Ghost,alexandrachifor/Ghost,UnbounDev/Ghost,carlyledavis/Ghost,llv22/Ghost,zumobi/Ghost,manishchhabra/Ghost,carlyledavis/Ghost,beautyOfProgram/Ghost,leninhasda/Ghost,kevinansfield/Ghost,developer-prosenjit/Ghost,daimaqiao/Ghost-Bridge,achimos/ghost_as,tksander/Ghost,bosung90/Ghost,FredericBernardo/Ghost,telco2011/Ghost,rizkyario/Ghost,syaiful6/Ghost,adam-paterson/blog,JohnONolan/Ghost,carlosmtx/Ghost,tanbo800/Ghost,sfpgmr/Ghost,davidenq/Ghost-Blog,rameshponnada/Ghost,barbastan/Ghost,dbalders/Ghost,panezhang/Ghost,wallmarkets/Ghost,mlabieniec/ghost-env,kortemy/Ghost,sifatsultan/js-ghost,vloom/blog,jaswilli/Ghost,jgillich/Ghost,cqricky/Ghost,PeterCxy/Ghost,barbastan/Ghost,rafaelstz/Ghost,dbalders/Ghost,dqj/Ghost,jparyani/GhostSS,kaychaks/kaushikc.org,riyadhalnur/Ghost,Sebastian1011/Ghost,tyrikio/Ghost,jiachenning/Ghost,mattchupp/blog,cwonrails/Ghost,DesenTao/Ghost,pollbox/ghostblog,gabfssilva/Ghost,Elektro1776/javaPress,ClarkGH/Ghost,floofydoug/Ghost,ManRueda/Ghost,petersucks/blog,Smile42RU/Ghost,obsoleted/Ghost,davidmenger/nodejsfan,klinker-apps/ghost,sankumsek/Ghost-ashram,carlosmtx/Ghost,jparyani/GhostSS,axross/ghost,smedrano/Ghost,melissaroman/ghost-blog,leonli/ghost,ClarkGH/Ghost,francisco-filho/Ghost,NamedGod/Ghost,lf2941270/Ghost,mnitchie/Ghost,k2byew/Ghost,cncodog/Ghost-zh-codog,epicmiller/pages,jin/Ghost,UsmanJ/Ghost,vishnuharidas/Ghost,Elektro1776/javaPress,Bunk/Ghost,schneidmaster/theventriloquist.us,AnthonyCorrado/Ghost,pensierinmusica/Ghost,greyhwndz/Ghost,bastianbin/Ghost,ignasbernotas/nullifer,sfpgmr/Ghost,tyrikio/Ghost,dymx101/Ghost,ManRueda/manrueda-blog,PeterCxy/Ghost,DesenTao/Ghost,allspiritseve/mindlikewater,icowan/Ghost,petersucks/blog,jomofrodo/ccb-ghost,JohnONolan/Ghost,ddeveloperr/Ghost,Remchi/Ghost,Polyrhythm/dolce,rito/Ghost,neynah/GhostSS,tadityar/Ghost,cicorias/Ghost,liftup/ghost,flomotlik/Ghost,RufusMbugua/TheoryOfACoder,Azzurrio/Ghost,ericbenson/GhostAzureSetup,cncodog/Ghost-zh-codog,gleneivey/Ghost,GroupxDev/javaPress,cicorias/Ghost,telco2011/Ghost,NovaDevelopGroup/Academy,woodyrew/Ghost,jeonghwan-kim/Ghost,julianromera/Ghost,Dnlyc/Ghost,netputer/Ghost,pedroha/Ghost,singular78/Ghost,javimolla/Ghost,olsio/Ghost,tidyui/Ghost,dylanchernick/ghostblog,weareleka/blog,qdk0901/Ghost,andrewconnell/Ghost,rchrd2/Ghost,nneko/Ghost,jamesslock/Ghost,benstoltz/Ghost,dYale/blog,ckousik/Ghost,aexmachina/blog-old,jomofrodo/ccb-ghost,katiefenn/Ghost,zeropaper/Ghost,lukekhamilton/Ghost,johngeorgewright/blog.j-g-w.info,r14r/fork_nodejs_ghost,Kaenn/Ghost,yundt/seisenpenji,mayconxhh/Ghost,daihuaye/Ghost,hnq90/Ghost,weareleka/blog,diancloud/Ghost,hnarayanan/narayanan.co,anijap/PhotoGhost,JonathanZWhite/Ghost,tandrewnichols/ghost,bsansouci/Ghost,rameshponnada/Ghost,r1N0Xmk2/Ghost,Japh/shortcoffee,Aaron1992/Ghost,velimir0xff/Ghost,bbmepic/Ghost,TribeMedia/Ghost,ngosinafrica/SiteForNGOs,imjerrybao/Ghost,leninhasda/Ghost,PepijnSenders/whatsontheotherside,UsmanJ/Ghost,xiongjungit/Ghost,ljhsai/Ghost,ballPointPenguin/Ghost,ITJesse/Ghost-zh,thomasalrin/Ghost,SkynetInc/steam,PDXIII/Ghost-FormMailer,dggr/Ghost-sr,UnbounDev/Ghost,tchapi/igneet-blog,daimaqiao/Ghost-Bridge,smaty1/Ghost,FredericBernardo/Ghost,jiangjian-zh/Ghost,lanffy/Ghost,wallmarkets/Ghost,Romdeau/Ghost,stridespace/Ghost,neynah/GhostSS,JulienBrks/Ghost,hyokosdeveloper/Ghost,jacostag/Ghost,delgermurun/Ghost,kmeurer/Ghost,denzelwamburu/denzel.xyz,Loyalsoldier/Ghost,hoxoa/Ghost,ErisDS/Ghost,sunh3/Ghost,Rovak/Ghost,jaguerra/Ghost,smaty1/Ghost,ghostchina/Ghost.zh,laispace/laiblog,kmeurer/GhostAzureSetup,zackslash/Ghost,ashishapy/ghostpy,e10/Ghost,phillipalexander/Ghost,pathayes/FoodBlog,TribeMedia/Ghost,obsoleted/Ghost,morficus/Ghost,Yarov/yarov,NikolaiIvanov/Ghost,ghostchina/Ghost-zh,Loyalsoldier/Ghost,hnq90/Ghost,JulienBrks/Ghost,camilodelvasto/herokughost,psychobunny/Ghost,augbog/Ghost,BlueHatbRit/Ghost,ghostchina/Ghost-zh,AnthonyCorrado/Ghost,mtvillwock/Ghost,Elektro1776/javaPress,sunh3/Ghost,arvidsvensson/Ghost,lf2941270/Ghost,thinq4yourself/Unmistakable-Blog,NodeJSBarenko/Ghost,GroupxDev/javaPress,kwangkim/Ghost,Gargol/Ghost,Japh/Ghost,klinker-apps/ghost,exsodus3249/Ghost,thomasalrin/Ghost,trunk-studio/Ghost,mtvillwock/Ghost,uploadcare/uploadcare-ghost-demo,jaguerra/Ghost,jiangjian-zh/Ghost,skleung/blog,darvelo/Ghost,trunk-studio/Ghost,tandrewnichols/ghost,PaulBGD/Ghost-Plus,javorszky/Ghost,prosenjit-itobuz/Ghost,mhhf/ghost-latex,atandon/Ghost,ladislas/ghost,tadityar/Ghost,YY030913/Ghost,hyokosdeveloper/Ghost,mayconxhh/Ghost,Japh/shortcoffee,skleung/blog,bastianbin/Ghost,blankmaker/Ghost,v3rt1go/Ghost,schematical/Ghost,rouanw/Ghost,rito/Ghost,pedroha/Ghost,Brunation11/Ghost,NovaDevelopGroup/Academy,lanffy/Ghost,pbevin/Ghost,gcamana/Ghost,Trendy/Ghost,velimir0xff/Ghost,sangcu/Ghost,flomotlik/Ghost,lukekhamilton/Ghost,claudiordgz/Ghost,ryanbrunner/crafters,fredeerock/atlabghost,yangli1990/Ghost,rizkyario/Ghost,zuphu/GhostBlog,jamesslock/Ghost,augbog/Ghost,zhiyishou/Ghost,lukw00/Ghost,acburdine/Ghost,ivanoats/ivanstorck.com,rchrd2/Ghost,mohanambati/Ghost,johnnymitch/Ghost,ivanoats/ivanstorck.com,ManRueda/Ghost,ManRueda/manrueda-blog,karmakaze/Ghost,cysys/ghost-openshift,vainglori0us/urban-fortnight,aroneiermann/GhostJade,vainglori0us/urban-fortnight,epicmiller/pages,TryGhost/Ghost,wangjun/Ghost,karmakaze/Ghost,denzelwamburu/denzel.xyz,allanjsx/Ghost,thehogfather/Ghost,chris-yoon90/Ghost,pathayes/FoodBlog,ericbenson/GhostAzureSetup,kaiqigong/Ghost,bisoe/Ghost,JonathanZWhite/Ghost,blankmaker/Ghost,Klaudit/Ghost,lowkeyfred/Ghost,rafaelstz/Ghost,Alxandr/Blog,situkangsayur/Ghost,STANAPO/Ghost,cobbspur/Ghost,ThorstenHans/Ghost,dai-shi/Ghost,Netazoic/bad-gateway,ASwitlyk/Ghost,VillainyStudios/Ghost,riyadhalnur/Ghost,Netazoic/bad-gateway,nneko/Ghost,NovaDevelopGroup/Academy,madole/diverse-learners,PaulBGD/Ghost-Plus,aroneiermann/GhostJade,morficus/Ghost,metadevfoundation/Ghost,singular78/Ghost,duyetdev/islab,andrewconnell/Ghost,Kikobeats/Ghost,ryanbrunner/crafters,jomofrodo/ccb-ghost,stridespace/Ghost,ballPointPenguin/Ghost,darvelo/Ghost,kevinansfield/Ghost,optikalefx/Ghost,achimos/ghost_as,mttschltz/ghostblog,zumobi/Ghost,ananthhh/Ghost,load11/ghost,woodyrew/Ghost,johngeorgewright/blog.j-g-w.info,icowan/Ghost,codeincarnate/Ghost,jaswilli/Ghost,handcode7/Ghost,LeandroNascimento/Ghost,rmoorman/Ghost,allspiritseve/mindlikewater,lowkeyfred/Ghost,madole/diverse-learners,yanntech/Ghost,YY030913/Ghost,RufusMbugua/TheoryOfACoder,ckousik/Ghost,etdev/blog,diogogmt/Ghost,pensierinmusica/Ghost,GarrethDottin/Habits-Design,novaugust/Ghost,disordinary/Ghost,letsjustfixit/Ghost,phillipalexander/Ghost,theonlypat/Ghost,makapen/Ghost,JonSmith/Ghost,MadeOnMars/Ghost,syaiful6/Ghost,praveenscience/Ghost,Sebastian1011/Ghost,patrickdbakke/ghost-spa,janvt/Ghost,handcode7/Ghost,jeonghwan-kim/Ghost,devleague/uber-hackathon,STANAPO/Ghost,thehogfather/Ghost,Feitianyuan/Ghost,shannonshsu/Ghost,jorgegilmoreira/ghost,RoopaS/demo-intern,sceltoas/Ghost,edurangel/Ghost,r14r/fork_nodejs_ghost,metadevfoundation/Ghost,wspandihai/Ghost,ignasbernotas/nullifer,Xibao-Lv/Ghost,ngosinafrica/SiteForNGOs,hnarayanan/narayanan.co,ManRueda/manrueda-blog,dgem/Ghost,camilodelvasto/localghost,shrimpy/Ghost,sajmoon/Ghost,omaracrystal/Ghost,KnowLoading/Ghost,exsodus3249/Ghost,sangcu/Ghost,ASwitlyk/Ghost,memezilla/Ghost,LeandroNascimento/Ghost,cysys/ghost-openshift,alecho/Ghost,daihuaye/Ghost,davidenq/Ghost-Blog,duyetdev/islab,etdev/blog,adam-paterson/blog,etanxing/Ghost,Trendy/Ghost,katrotz/blog.katrotz.space,yangli1990/Ghost,influitive/crafters,javorszky/Ghost,tksander/Ghost,sebgie/Ghost,schematical/Ghost,Gargol/Ghost,bsansouci/Ghost,MrMaksimize/sdg1,aschmoe/jesse-ghost-app,qdk0901/Ghost,zhiyishou/Ghost,AileenCGN/Ghost,v3rt1go/Ghost,pollbox/ghostblog,lukaszklis/Ghost,Coding-House/Ghost,julianromera/Ghost,KnowLoading/Ghost,janvt/Ghost,zackslash/Ghost,imjerrybao/Ghost,rmoorman/Ghost,Alxandr/Blog,dgem/Ghost,AlexKVal/Ghost,memezilla/Ghost,mikecastro26/ghost-custom,flpms/ghost-ad,influitive/crafters,djensen47/Ghost,IbrahimAmin/Ghost,e10/Ghost,virtuallyearthed/Ghost,greenboxindonesia/Ghost,panezhang/Ghost,leonli/ghost,dggr/Ghost-sr,ddeveloperr/Ghost,cwonrails/Ghost,ErisDS/Ghost,no1lov3sme/Ghost,virtuallyearthed/Ghost,zeropaper/Ghost,edsadr/Ghost,trepafi/ghost-base,mnitchie/Ghost,dai-shi/Ghost,dylanchernick/ghostblog,jiachenning/Ghost,singular78/Ghost,mdbw/ghost,diogogmt/Ghost,ashishapy/ghostpy,devleague/uber-hackathon,delgermurun/Ghost,Xibao-Lv/Ghost,Coding-House/Ghost,Kikobeats/Ghost,wemakeweb/Ghost,sajmoon/Ghost,ivantedja/ghost,acburdine/Ghost,jomahoney/Ghost,ljhsai/Ghost,aschmoe/jesse-ghost-app,IbrahimAmin/Ghost,choskim/ghost_exp,olsio/Ghost,fredeerock/atlabghost,Dnlyc/Ghost,uniqname/everydaydelicious,MadeOnMars/Ghost,axross/ghost,letsjustfixit/Ghost,alecho/Ghost,gcamana/Ghost,dggr/Ghost-sr,melissaroman/ghost-blog,kmeurer/Ghost,ghostchina/website,cncodog/Ghost-zh-codog,BayPhillips/Ghost,hilerchyn/Ghost,jgladch/taskworksource,flpms/ghost-ad,kortemy/Ghost,prosenjit-itobuz/Ghost,kaiqigong/Ghost,mdbw/ghost,Kaenn/Ghost,acburdine/Ghost,diancloud/Ghost,chevex/undoctrinate,leonli/ghost,Kikobeats/Ghost,vloom/blog,InnoD-WebTier/hardboiled_ghost,edurangel/Ghost,sebgie/Ghost,Alxandr/Blog,psychobunny/Ghost,mohanambati/Ghost,SachaG/bjjbot-blog,sifatsultan/js-ghost,vainglori0us/urban-fortnight,jparyani/GhostSS,Klaudit/Ghost,jomahoney/Ghost,krahman/Ghost,freele/ghost,telco2011/Ghost,akveo/akveo-blog,lukw00/Ghost,lcamacho/Ghost,mlabieniec/ghost-env,Brunation11/Ghost,uploadcare/uploadcare-ghost-demo,tmp-reg/Ghost,wemakeweb/Ghost,skmezanul/Ghost,GarrethDottin/Habits-Design,veyo-care/Ghost,ryansukale/ux.ryansukale.com,makapen/Ghost,ghostchina/Ghost.zh,Jai-Chaudhary/Ghost,nakamuraapp/new-ghost,patterncoder/patterncoder,ladislas/ghost,xiongjungit/Ghost,allanjsx/Ghost,camilodelvasto/herokughost,devleague/uber-hackathon,stridespace/Ghost,rollokb/Ghost,jin/Ghost,tuan/Ghost,laispace/laiblog,omaracrystal/Ghost,tidyui/Ghost,davidmenger/nodejsfan,SkynetInc/steam,NamedGod/Ghost,bisoe/Ghost,notno/Ghost,r1N0Xmk2/Ghost,rollokb/Ghost,GroupxDev/javaPress,dymx101/Ghost,arvidsvensson/Ghost,Yarov/yarov,skmezanul/Ghost,claudiordgz/Ghost,anijap/PhotoGhost,NikolaiIvanov/Ghost,InnoD-WebTier/hardboiled_ghost,camilodelvasto/localghost,novaugust/Ghost