Refactor resource exhaustion test
Refactor resource exhaustion test

This is a simple refactor of the specified test.  It is now brought in
line with the rest of the tests in the module.  This should make things
easier to debug, as all of the tests are now grouped together at the
top.

alecalve/bitcoin,domob1812/bitcoin,bitcoin/bitcoin,pstratem/bitcoin,MeshCollider/bitcoin,achow101/bitcoin,bitcoinknots/bitcoin,namecoin/namecoin-core,JeremyRubin/bitcoin,kallewoof/bitcoin,namecoin/namecore,litecoin-project/litecoin,domob1812/bitcoin,pataquets/namecoin-core,pstratem/bitcoin,jlopp/statoshi,alecalve/bitcoin,fanquake/bitcoin,MarcoFalke/bitcoin,jamesob/bitcoin,midnightmagic/bitcoin,fanquake/bitcoin,dscotese/bitcoin,Sjors/bitcoin,namecoin/namecoin-core,MeshCollider/bitcoin,apoelstra/bitcoin,jonasschnelli/bitcoin,jnewbery/bitcoin,rnicoll/bitcoin,JeremyRubin/bitcoin,Xekyo/bitcoin,dscotese/bitcoin,anditto/bitcoin,achow101/bitcoin,ajtowns/bitcoin,ajtowns/bitcoin,midnightmagic/bitcoin,dscotese/bitcoin,Sjors/bitcoin,JeremyRubin/bitcoin,domob1812/namecore,tecnovert/particl-core,particl/particl-core,n1bor/bitcoin,bitcoin/bitcoin,anditto/bitcoin,andreaskern/bitcoin,Xekyo/bitcoin,mruddy/bitcoin,achow101/bitcoin,MeshCollider/bitcoin,instagibbs/bitcoin,apoelstra/bitcoin,AkioNak/bitcoin,EthanHeilman/bitcoin,jlopp/statoshi,pstratem/bitcoin,andreaskern/bitcoin,bitcoinsSG/bitcoin,Sjors/bitcoin,fujicoin/fujicoin,MarcoFalke/bitcoin,tecnovert/particl-core,sipsorcery/bitcoin,alecalve/bitcoin,rnicoll/dogecoin,domob1812/bitcoin,achow101/bitcoin,mruddy/bitcoin,rnicoll/dogecoin,GroestlCoin/bitcoin,qtumproject/qtum,domob1812/namecore,particl/particl-core,sipsorcery/bitcoin,prusnak/bitcoin,GroestlCoin/GroestlCoin,yenliangl/bitcoin,rnicoll/bitcoin,ajtowns/bitcoin,lateminer/bitcoin,EthanHeilman/bitcoin,namecoin/namecore,sstone/bitcoin,jnewbery/bitcoin,MarcoFalke/bitcoin,ajtowns/bitcoin,litecoin-project/litecoin,namecoin/namecore,sipsorcery/bitcoin,namecoin/namecore,bitcoinsSG/bitcoin,mm-s/bitcoin,midnightmagic/bitcoin,lateminer/bitcoin,pataquets/namecoin-core,bitcoinsSG/bitcoin,prusnak/bitcoin,AkioNak/bitcoin,apoelstra/bitcoin,mm-s/bitcoin,ElementsProject/elements,rnicoll/dogecoin,apoelstra/bitcoin,mm-s/bitcoin,prusnak/bitcoin,bitcoinknots/bitcoin,GroestlCoin/bitcoin,jambolo/bitcoin,practicalswift/bitcoin,cdecker/bitcoin,GroestlCoin/bitcoin,apoelstra/bitcoin,ElementsProject/elements,qtumproject/qtum,namecoin/namecore,jlopp/statoshi,kallewoof/bitcoin,practicalswift/bitcoin,cdecker/bitcoin,jambolo/bitcoin,yenliangl/bitcoin,anditto/bitcoin,alecalve/bitcoin,sstone/bitcoin,yenliangl/bitcoin,MarcoFalke/bitcoin,domob1812/namecore,instagibbs/bitcoin,Xekyo/bitcoin,yenliangl/bitcoin,bitcoinknots/bitcoin,Sjors/bitcoin,qtumproject/qtum,practicalswift/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,rnicoll/bitcoin,rnicoll/dogecoin,pstratem/bitcoin,yenliangl/bitcoin,sstone/bitcoin,bitcoinknots/bitcoin,namecoin/namecore,lateminer/bitcoin,n1bor/bitcoin,kallewoof/bitcoin,litecoin-project/litecoin,sipsorcery/bitcoin,instagibbs/bitcoin,jnewbery/bitcoin,dscotese/bitcoin,anditto/bitcoin,fanquake/bitcoin,domob1812/namecore,jonasschnelli/bitcoin,dscotese/bitcoin,andreaskern/bitcoin,practicalswift/bitcoin,prusnak/bitcoin,lateminer/bitcoin,jlopp/statoshi,midnightmagic/bitcoin,rnicoll/dogecoin,mm-s/bitcoin,cdecker/bitcoin,bitcoin/bitcoin,namecoin/namecoin-core,JeremyRubin/bitcoin,tecnovert/particl-core,bitcoin/bitcoin,fanquake/bitcoin,pstratem/bitcoin,apoelstra/bitcoin,jonasschnelli/bitcoin,midnightmagic/bitcoin,sstone/bitcoin,jamesob/bitcoin,ElementsProject/elements,domob1812/namecore,particl/particl-core,MeshCollider/bitcoin,litecoin-project/litecoin,AkioNak/bitcoin,EthanHeilman/bitcoin,ajtowns/bitcoin,fanquake/bitcoin,midnightmagic/bitcoin,litecoin-project/litecoin,litecoin-project/litecoin,MarcoFalke/bitcoin,rnicoll/bitcoin,andreaskern/bitcoin,namecoin/namecoin-core,domob1812/bitcoin,jlopp/statoshi,jambolo/bitcoin,jamesob/bitcoin,EthanHeilman/bitcoin,instagibbs/bitcoin,mm-s/bitcoin,instagibbs/bitcoin,namecoin/namecoin-core,kallewoof/bitcoin,EthanHeilman/bitcoin,jamesob/bitcoin,GroestlCoin/GroestlCoin,MeshCollider/bitcoin,achow101/bitcoin,rnicoll/bitcoin,kallewoof/bitcoin,GroestlCoin/bitcoin,ElementsProject/elements,tecnovert/particl-core,qtumproject/qtum,jambolo/bitcoin,Xekyo/bitcoin,bitcoinsSG/bitcoin,alecalve/bitcoin,GroestlCoin/GroestlCoin,achow101/bitcoin,practicalswift/bitcoin,sstone/bitcoin,practicalswift/bitcoin,lateminer/bitcoin,sstone/bitcoin,GroestlCoin/bitcoin,cdecker/bitcoin,sipsorcery/bitcoin,bitcoinknots/bitcoin,pataquets/namecoin-core,bitcoinsSG/bitcoin,tecnovert/particl-core,pataquets/namecoin-core,domob1812/namecore,Xekyo/bitcoin,AkioNak/bitcoin,kallewoof/bitcoin,qtumproject/qtum,alecalve/bitcoin,n1bor/bitcoin,fujicoin/fujicoin,lateminer/bitcoin,dscotese/bitcoin,cdecker/bitcoin,jambolo/bitcoin,mm-s/bitcoin,anditto/bitcoin,prusnak/bitcoin,MarcoFalke/bitcoin,JeremyRubin/bitcoin,jamesob/bitcoin,domob1812/bitcoin,ElementsProject/elements,n1bor/bitcoin,mruddy/bitcoin,ElementsProject/elements,fujicoin/fujicoin,AkioNak/bitcoin,ajtowns/bitcoin,MeshCollider/bitcoin,particl/particl-core,fujicoin/fujicoin,Sjors/bitcoin,bitcoin/bitcoin,pataquets/namecoin-core,particl/particl-core,mruddy/bitcoin,JeremyRubin/bitcoin,EthanHeilman/bitcoin,jonasschnelli/bitcoin,bitcoin/bitcoin,andreaskern/bitcoin,namecoin/namecoin-core,qtumproject/qtum,bitcoinsSG/bitcoin,jlopp/statoshi,yenliangl/bitcoin,fanquake/bitcoin,fujicoin/fujicoin,pataquets/namecoin-core,qtumproject/qtum,jonasschnelli/bitcoin,mruddy/bitcoin,particl/particl-core,jnewbery/bitcoin,mruddy/bitcoin,sipsorcery/bitcoin,GroestlCoin/GroestlCoin,n1bor/bitcoin,rnicoll/bitcoin,instagibbs/bitcoin,fujicoin/fujicoin,cdecker/bitcoin,pstratem/bitcoin,prusnak/bitcoin,GroestlCoin/bitcoin,jambolo/bitcoin,GroestlCoin/GroestlCoin,domob1812/bitcoin,AkioNak/bitcoin,andreaskern/bitcoin,jnewbery/bitcoin,GroestlCoin/GroestlCoin,anditto/bitcoin,jamesob/bitcoin,n1bor/bitcoin