amqplib: small cleanup of the test code
amqplib: small cleanup of the test code

martinduparc/DefinitelyTyped,emanuelhp/DefinitelyTyped,mattblang/DefinitelyTyped,OpenMaths/DefinitelyTyped,tan9/DefinitelyTyped,emanuelhp/DefinitelyTyped,esperco/DefinitelyTyped,donnut/DefinitelyTyped,smrq/DefinitelyTyped,nmalaguti/DefinitelyTyped,sergey-buturlakin/DefinitelyTyped,xStrom/DefinitelyTyped,Zzzen/DefinitelyTyped,bennett000/DefinitelyTyped,fredgalvao/DefinitelyTyped,QuatroCode/DefinitelyTyped,Syati/DefinitelyTyped,minodisk/DefinitelyTyped,Karabur/DefinitelyTyped,davidpricedev/DefinitelyTyped,dsebastien/DefinitelyTyped,glenndierckx/DefinitelyTyped,stephenjelfs/DefinitelyTyped,glenndierckx/DefinitelyTyped,drinchev/DefinitelyTyped,gyohk/DefinitelyTyped,nobuoka/DefinitelyTyped,micurs/DefinitelyTyped,mjjames/DefinitelyTyped,Softpagehomeware/DefinitelyTyped,subash-a/DefinitelyTyped,mareek/DefinitelyTyped,rcchen/DefinitelyTyped,mcrawshaw/DefinitelyTyped,YousefED/DefinitelyTyped,GlennQuirynen/DefinitelyTyped,mareek/DefinitelyTyped,onecentlin/DefinitelyTyped,arcticwaters/DefinitelyTyped,sledorze/DefinitelyTyped,paulmorphy/DefinitelyTyped,aciccarello/DefinitelyTyped,wilfrem/DefinitelyTyped,jimthedev/DefinitelyTyped,nakakura/DefinitelyTyped,mcliment/DefinitelyTyped,tan9/DefinitelyTyped,ryan-codingintrigue/DefinitelyTyped,chbrown/DefinitelyTyped,musicist288/DefinitelyTyped,olemp/DefinitelyTyped,jimthedev/DefinitelyTyped,benishouga/DefinitelyTyped,arusakov/DefinitelyTyped,benliddicott/DefinitelyTyped,damianog/DefinitelyTyped,herrmanno/DefinitelyTyped,schmuli/DefinitelyTyped,gcastre/DefinitelyTyped,CodeZombieCH/DefinitelyTyped,RX14/DefinitelyTyped,zuzusik/DefinitelyTyped,UzEE/DefinitelyTyped,nycdotnet/DefinitelyTyped,progre/DefinitelyTyped,OpenMaths/DefinitelyTyped,newclear/DefinitelyTyped,RX14/DefinitelyTyped,QuatroCode/DefinitelyTyped,pocesar/DefinitelyTyped,reppners/DefinitelyTyped,zuzusik/DefinitelyTyped,benishouga/DefinitelyTyped,aciccarello/DefinitelyTyped,alainsahli/DefinitelyTyped,georgemarshall/DefinitelyTyped,alvarorahul/DefinitelyTyped,georgemarshall/DefinitelyTyped,ajtowf/DefinitelyTyped,jraymakers/DefinitelyTyped,psnider/DefinitelyTyped,syuilo/DefinitelyTyped,sergey-buturlakin/DefinitelyTyped,optical/DefinitelyTyped,hellopao/DefinitelyTyped,schmuli/DefinitelyTyped,gandjustas/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,reppners/DefinitelyTyped,trystanclarke/DefinitelyTyped,bennett000/DefinitelyTyped,jraymakers/DefinitelyTyped,arma-gast/DefinitelyTyped,rschmukler/DefinitelyTyped,chrismbarr/DefinitelyTyped,psnider/DefinitelyTyped,AyaMorisawa/DefinitelyTyped,dsebastien/DefinitelyTyped,mhegazy/DefinitelyTyped,behzad888/DefinitelyTyped,aciccarello/DefinitelyTyped,AgentME/DefinitelyTyped,chrootsu/DefinitelyTyped,TrabacchinLuigi/DefinitelyTyped,stephenjelfs/DefinitelyTyped,Softpagehomeware/DefinitelyTyped,gandjustas/DefinitelyTyped,esperco/DefinitelyTyped,subash-a/DefinitelyTyped,florentpoujol/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,Syati/DefinitelyTyped,shlomiassaf/DefinitelyTyped,elisee/DefinitelyTyped,yuit/DefinitelyTyped,philippstucki/DefinitelyTyped,flyfishMT/DefinitelyTyped,bdoss/DefinitelyTyped,davidpricedev/DefinitelyTyped,mhegazy/DefinitelyTyped,abbasmhd/DefinitelyTyped,mjjames/DefinitelyTyped,olemp/DefinitelyTyped,smrq/DefinitelyTyped,ashwinr/DefinitelyTyped,florentpoujol/DefinitelyTyped,Dashlane/DefinitelyTyped,daptiv/DefinitelyTyped,georgemarshall/DefinitelyTyped,hatz48/DefinitelyTyped,AgentME/DefinitelyTyped,Pro/DefinitelyTyped,MugeSo/DefinitelyTyped,chrismbarr/DefinitelyTyped,nainslie/DefinitelyTyped,Penryn/DefinitelyTyped,Ptival/DefinitelyTyped,damianog/DefinitelyTyped,mattanja/DefinitelyTyped,shlomiassaf/DefinitelyTyped,AgentME/DefinitelyTyped,TrabacchinLuigi/DefinitelyTyped,hellopao/DefinitelyTyped,fredgalvao/DefinitelyTyped,progre/DefinitelyTyped,greglo/DefinitelyTyped,onecentlin/DefinitelyTyped,philippstucki/DefinitelyTyped,Zorgatone/DefinitelyTyped,Penryn/DefinitelyTyped,rschmukler/DefinitelyTyped,alvarorahul/DefinitelyTyped,use-strict/DefinitelyTyped,nitintutlani/DefinitelyTyped,ryan10132/DefinitelyTyped,markogresak/DefinitelyTyped,takenet/DefinitelyTyped,gcastre/DefinitelyTyped,pocesar/DefinitelyTyped,martinduparc/DefinitelyTyped,arusakov/DefinitelyTyped,borisyankov/DefinitelyTyped,sclausen/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,trystanclarke/DefinitelyTyped,arma-gast/DefinitelyTyped,johan-gorter/DefinitelyTyped,AgentME/DefinitelyTyped,amanmahajan7/DefinitelyTyped,richardTowers/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,donnut/DefinitelyTyped,abbasmhd/DefinitelyTyped,sclausen/DefinitelyTyped,nakakura/DefinitelyTyped,paulmorphy/DefinitelyTyped,abner/DefinitelyTyped,Dominator008/DefinitelyTyped,pwelter34/DefinitelyTyped,scriby/DefinitelyTyped,YousefED/DefinitelyTyped,Dashlane/DefinitelyTyped,dydek/DefinitelyTyped,stacktracejs/DefinitelyTyped,dmoonfire/DefinitelyTyped,mshmelev/DefinitelyTyped,georgemarshall/DefinitelyTyped,chrootsu/DefinitelyTyped,yuit/DefinitelyTyped,benishouga/DefinitelyTyped,dydek/DefinitelyTyped,danfma/DefinitelyTyped,HPFOD/DefinitelyTyped,Karabur/DefinitelyTyped,hellopao/DefinitelyTyped,pocesar/DefinitelyTyped,mshmelev/DefinitelyTyped,nycdotnet/DefinitelyTyped,syuilo/DefinitelyTyped,magny/DefinitelyTyped,hatz48/DefinitelyTyped,alexdresko/DefinitelyTyped,danfma/DefinitelyTyped,isman-usoh/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,applesaucers/lodash-invokeMap,mcrawshaw/DefinitelyTyped,raijinsetsu/DefinitelyTyped,nfriend/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,nitintutlani/DefinitelyTyped,Pro/DefinitelyTyped,teves-castro/DefinitelyTyped,martinduparc/DefinitelyTyped,applesaucers/lodash-invokeMap,takenet/DefinitelyTyped,behzad888/DefinitelyTyped,rolandzwaga/DefinitelyTyped,arusakov/DefinitelyTyped,flyfishMT/DefinitelyTyped,UzEE/DefinitelyTyped,Litee/DefinitelyTyped,isman-usoh/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,one-pieces/DefinitelyTyped,schmuli/DefinitelyTyped,Litee/DefinitelyTyped,CodeZombieCH/DefinitelyTyped,jbrantly/DefinitelyTyped,ajtowf/DefinitelyTyped,rcchen/DefinitelyTyped,HPFOD/DefinitelyTyped,Zorgatone/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,amir-arad/DefinitelyTyped,stacktracejs/DefinitelyTyped,psnider/DefinitelyTyped,teves-castro/DefinitelyTyped,bdoss/DefinitelyTyped,EnableSoftware/DefinitelyTyped,dmoonfire/DefinitelyTyped,optical/DefinitelyTyped,johan-gorter/DefinitelyTyped,GlennQuirynen/DefinitelyTyped,alextkachman/DefinitelyTyped,nobuoka/DefinitelyTyped,jimthedev/DefinitelyTyped,raijinsetsu/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,xStrom/DefinitelyTyped,jasonswearingen/DefinitelyTyped,vagarenko/DefinitelyTyped,alexdresko/DefinitelyTyped,frogcjn/DefinitelyTyped,elisee/DefinitelyTyped,alextkachman/DefinitelyTyped,AyaMorisawa/DefinitelyTyped,jasonswearingen/DefinitelyTyped,frogcjn/DefinitelyTyped,ashwinr/DefinitelyTyped,bridge-ufsc/DefinitelyTyped,gyohk/DefinitelyTyped,nainslie/DefinitelyTyped,rolandzwaga/DefinitelyTyped,whoeverest/DefinitelyTyped,Ptival/DefinitelyTyped,borisyankov/DefinitelyTyped,sledorze/DefinitelyTyped,eugenpodaru/DefinitelyTyped,abner/DefinitelyTyped,MugeSo/DefinitelyTyped,adamcarr/DefinitelyTyped,Zzzen/DefinitelyTyped,jsaelhof/DefinitelyTyped,magny/DefinitelyTyped,vagarenko/DefinitelyTyped,Dominator008/DefinitelyTyped,mattblang/DefinitelyTyped,wilfrem/DefinitelyTyped,pwelter34/DefinitelyTyped,EnableSoftware/DefinitelyTyped,jsaelhof/DefinitelyTyped,newclear/DefinitelyTyped,arcticwaters/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,egeland/DefinitelyTyped,axelcostaspena/DefinitelyTyped,sixinli/DefinitelyTyped,amanmahajan7/DefinitelyTyped,egeland/DefinitelyTyped,mattanja/DefinitelyTyped,minodisk/DefinitelyTyped,drinchev/DefinitelyTyped,greglo/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,nmalaguti/DefinitelyTyped,scriby/DefinitelyTyped,zuzusik/DefinitelyTyped,bridge-ufsc/DefinitelyTyped,use-strict/DefinitelyTyped