Fix for failing tests
Fix for failing tests

closes #1609
- added wait for output
- changed order of test tasks

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