Improve wallet-accounts test
Improve wallet-accounts test

Add comments and

- Verify sending to a account causes getaccountaddress to generate new addresses.
- Verify sending to a account causes getreceivedbyaccount to return amount received.
- Verify ways setaccount updates the accounts of existing addresses.

globaltoken/globaltoken,fujicoin/fujicoin,EthanHeilman/bitcoin,mb300sd/bitcoin,mm-s/bitcoin,randy-waterhouse/bitcoin,viacoin/viacoin,RHavar/bitcoin,untrustbank/litecoin,prusnak/bitcoin,jamesob/bitcoin,rnicoll/dogecoin,maaku/bitcoin,tecnovert/particl-core,midnightmagic/bitcoin,stamhe/bitcoin,litecoin-project/litecoin,litecoin-project/litecoin,gjhiggins/vcoincore,fanquake/bitcoin,lateminer/bitcoin,rnicoll/dogecoin,r8921039/bitcoin,jtimon/bitcoin,pstratem/bitcoin,anditto/bitcoin,peercoin/peercoin,GroestlCoin/GroestlCoin,monacoinproject/monacoin,monacoinproject/monacoin,kazcw/bitcoin,starwels/starwels,n1bor/bitcoin,ahmedbodi/vertcoin,Kogser/bitcoin,mm-s/bitcoin,instagibbs/bitcoin,jlopp/statoshi,myriadteam/myriadcoin,OmniLayer/omnicore,untrustbank/litecoin,sstone/bitcoin,instagibbs/bitcoin,mruddy/bitcoin,ElementsProject/elements,Christewart/bitcoin,rawodb/bitcoin,jamesob/bitcoin,domob1812/bitcoin,kallewoof/bitcoin,bitcoin/bitcoin,particl/particl-core,tjps/bitcoin,midnightmagic/bitcoin,mb300sd/bitcoin,Kogser/bitcoin,ElementsProject/elements,mitchellcash/bitcoin,jtimon/bitcoin,MarcoFalke/bitcoin,namecoin/namecore,GroestlCoin/bitcoin,tjps/bitcoin,kallewoof/bitcoin,JeremyRubin/bitcoin,namecoin/namecore,GroestlCoin/GroestlCoin,anditto/bitcoin,ajtowns/bitcoin,monacoinproject/monacoin,stamhe/bitcoin,MeshCollider/bitcoin,ppcoin/ppcoin,brandonrobertz/namecoin-core,jmcorgan/bitcoin,wellenreiter01/Feathercoin,mruddy/bitcoin,pataquets/namecoin-core,untrustbank/litecoin,FeatherCoin/Feathercoin,laudaa/bitcoin,rawodb/bitcoin,starwels/starwels,sipsorcery/bitcoin,qtumproject/qtum,anditto/bitcoin,randy-waterhouse/bitcoin,namecoin/namecore,jambolo/bitcoin,lateminer/bitcoin,Kogser/bitcoin,Bushstar/UFO-Project,laudaa/bitcoin,qtumproject/qtum,untrustbank/litecoin,GlobalBoost/GlobalBoost,jlopp/statoshi,EthanHeilman/bitcoin,ElementsProject/elements,droark/bitcoin,guncoin/guncoin,donaloconnor/bitcoin,joshrabinowitz/bitcoin,paveljanik/bitcoin,ryanofsky/bitcoin,monacoinproject/monacoin,particl/particl-core,fujicoin/fujicoin,guncoin/guncoin,Flowdalic/bitcoin,ericshawlinux/bitcoin,Xekyo/bitcoin,DigitalPandacoin/pandacoin,fanquake/bitcoin,pstratem/bitcoin,sstone/bitcoin,instagibbs/bitcoin,vmp32k/litecoin,lbryio/lbrycrd,andreaskern/bitcoin,deeponion/deeponion,DigitalPandacoin/pandacoin,yenliangl/bitcoin,kallewoof/bitcoin,domob1812/huntercore,randy-waterhouse/bitcoin,bitcoinsSG/bitcoin,laudaa/bitcoin,BTCGPU/BTCGPU,h4x3rotab/BTCGPU,GroestlCoin/bitcoin,GroestlCoin/GroestlCoin,joshrabinowitz/bitcoin,RHavar/bitcoin,digibyte/digibyte,TheBlueMatt/bitcoin,sstone/bitcoin,vertcoin/vertcoin,kallewoof/bitcoin,thrasher-/litecoin,prusnak/bitcoin,tecnovert/particl-core,Flowdalic/bitcoin,cdecker/bitcoin,lbryio/lbrycrd,stamhe/bitcoin,domob1812/bitcoin,bitcoinknots/bitcoin,rawodb/bitcoin,prusnak/bitcoin,domob1812/huntercore,laudaa/bitcoin,jamesob/bitcoin,JeremyRubin/bitcoin,jonasschnelli/bitcoin,litecoin-project/litecoin,yenliangl/bitcoin,nikkitan/bitcoin,fujicoin/fujicoin,GroestlCoin/GroestlCoin,ericshawlinux/bitcoin,OmniLayer/omnicore,jamesob/bitcoin,achow101/bitcoin,untrustbank/litecoin,midnightmagic/bitcoin,MeshCollider/bitcoin,lateminer/bitcoin,brandonrobertz/namecoin-core,jonasschnelli/bitcoin,maaku/bitcoin,Sjors/bitcoin,namecoin/namecoin-core,anditto/bitcoin,afk11/bitcoin,EthanHeilman/bitcoin,stamhe/bitcoin,alecalve/bitcoin,myriadcoin/myriadcoin,namecoin/namecore,Xekyo/bitcoin,guncoin/guncoin,TheBlueMatt/bitcoin,MarcoFalke/bitcoin,OmniLayer/omnicore,paveljanik/bitcoin,starwels/starwels,ryanofsky/bitcoin,Rav3nPL/bitcoin,GlobalBoost/GlobalBoost,jtimon/bitcoin,h4x3rotab/BTCGPU,thrasher-/litecoin,domob1812/bitcoin,andreaskern/bitcoin,Rav3nPL/bitcoin,jlopp/statoshi,jnewbery/bitcoin,apoelstra/bitcoin,r8921039/bitcoin,monacoinproject/monacoin,apoelstra/bitcoin,globaltoken/globaltoken,cdecker/bitcoin,jmcorgan/bitcoin,jambolo/bitcoin,qtumproject/qtum,DigitalPandacoin/pandacoin,EthanHeilman/bitcoin,bitcoinknots/bitcoin,peercoin/peercoin,midnightmagic/bitcoin,bespike/litecoin,cdecker/bitcoin,jlopp/statoshi,myriadcoin/myriadcoin,bitcoinknots/bitcoin,starwels/starwels,1185/starwels,viacoin/viacoin,qtumproject/qtum,mb300sd/bitcoin,yenliangl/bitcoin,pataquets/namecoin-core,nikkitan/bitcoin,Xekyo/bitcoin,andreaskern/bitcoin,anditto/bitcoin,MazaCoin/maza,namecoin/namecoin-core,bitcoinknots/bitcoin,ryanofsky/bitcoin,pstratem/bitcoin,pataquets/namecoin-core,h4x3rotab/BTCGPU,tjps/bitcoin,randy-waterhouse/bitcoin,DigitalPandacoin/pandacoin,tecnovert/particl-core,achow101/bitcoin,vertcoin/vertcoin,MeshCollider/bitcoin,h4x3rotab/BTCGPU,pstratem/bitcoin,starwels/starwels,CryptArc/bitcoin,h4x3rotab/BTCGPU,ahmedbodi/vertcoin,laudaa/bitcoin,alecalve/bitcoin,CryptArc/bitcoin,wellenreiter01/Feathercoin,bitcoinknots/bitcoin,randy-waterhouse/bitcoin,FeatherCoin/Feathercoin,myriadcoin/myriadcoin,kazcw/bitcoin,kazcw/bitcoin,andreaskern/bitcoin,jlopp/statoshi,lbryio/lbrycrd,GroestlCoin/bitcoin,CryptArc/bitcoin,yenliangl/bitcoin,ElementsProject/elements,Kogser/bitcoin,ajtowns/bitcoin,instagibbs/bitcoin,globaltoken/globaltoken,mitchellcash/bitcoin,gjhiggins/vcoincore,AkioNak/bitcoin,r8921039/bitcoin,lbryio/lbrycrd,ppcoin/ppcoin,pstratem/bitcoin,deeponion/deeponion,gjhiggins/vcoincore,fanquake/bitcoin,ryanofsky/bitcoin,vertcoin/vertcoin,fanquake/bitcoin,bitcoinsSG/bitcoin,midnightmagic/bitcoin,jonasschnelli/bitcoin,joshrabinowitz/bitcoin,Christewart/bitcoin,mb300sd/bitcoin,kazcw/bitcoin,sstone/bitcoin,maaku/bitcoin,afk11/bitcoin,dscotese/bitcoin,Rav3nPL/bitcoin,afk11/bitcoin,n1bor/bitcoin,Flowdalic/bitcoin,MeshCollider/bitcoin,alecalve/bitcoin,JeremyRubin/bitcoin,bitcoinsSG/bitcoin,joshrabinowitz/bitcoin,ElementsProject/elements,practicalswift/bitcoin,sstone/bitcoin,apoelstra/bitcoin,MazaCoin/maza,Xekyo/bitcoin,Christewart/bitcoin,Kogser/bitcoin,EthanHeilman/bitcoin,jamesob/bitcoin,bespike/litecoin,wellenreiter01/Feathercoin,mm-s/bitcoin,Kogser/bitcoin,viacoin/viacoin,1185/starwels,GlobalBoost/GlobalBoost,litecoin-project/litecoin,DigitalPandacoin/pandacoin,digibyte/digibyte,midnightmagic/bitcoin,jmcorgan/bitcoin,yenliangl/bitcoin,jnewbery/bitcoin,Christewart/bitcoin,n1bor/bitcoin,OmniLayer/omnicore,rawodb/bitcoin,lbryio/lbrycrd,namecoin/namecore,domob1812/namecore,AkioNak/bitcoin,Xekyo/bitcoin,kallewoof/bitcoin,MeshCollider/bitcoin,Kogser/bitcoin,GroestlCoin/GroestlCoin,ppcoin/ppcoin,Kogser/bitcoin,yenliangl/bitcoin,viacoin/viacoin,domob1812/bitcoin,GlobalBoost/GlobalBoost,TheBlueMatt/bitcoin,vmp32k/litecoin,qtumproject/qtum,jmcorgan/bitcoin,monacoinproject/monacoin,bitcoinsSG/bitcoin,Xekyo/bitcoin,myriadcoin/myriadcoin,namecoin/namecore,FeatherCoin/Feathercoin,FeatherCoin/Feathercoin,mb300sd/bitcoin,donaloconnor/bitcoin,sipsorcery/bitcoin,pataquets/namecoin-core,Bushstar/UFO-Project,globaltoken/globaltoken,jtimon/bitcoin,lateminer/bitcoin,afk11/bitcoin,mm-s/bitcoin,bitcoin/bitcoin,qtumproject/qtum,ericshawlinux/bitcoin,jtimon/bitcoin,lbryio/lbrycrd,MarcoFalke/bitcoin,pstratem/bitcoin,Flowdalic/bitcoin,paveljanik/bitcoin,Bushstar/UFO-Project,maaku/bitcoin,Sjors/bitcoin,ajtowns/bitcoin,donaloconnor/bitcoin,Sjors/bitcoin,jnewbery/bitcoin,droark/bitcoin,brandonrobertz/namecoin-core,droark/bitcoin,nikkitan/bitcoin,nikkitan/bitcoin,peercoin/peercoin,paveljanik/bitcoin,andreaskern/bitcoin,untrustbank/litecoin,r8921039/bitcoin,joshrabinowitz/bitcoin,maaku/bitcoin,alecalve/bitcoin,rawodb/bitcoin,ericshawlinux/bitcoin,paveljanik/bitcoin,FeatherCoin/Feathercoin,gjhiggins/vcoincore,domob1812/namecore,GroestlCoin/bitcoin,myriadteam/myriadcoin,CryptArc/bitcoin,TheBlueMatt/bitcoin,rnicoll/bitcoin,n1bor/bitcoin,pataquets/namecoin-core,globaltoken/globaltoken,particl/particl-core,myriadcoin/myriadcoin,brandonrobertz/namecoin-core,tjps/bitcoin,rawodb/bitcoin,rnicoll/bitcoin,TheBlueMatt/bitcoin,dscotese/bitcoin,wellenreiter01/Feathercoin,particl/particl-core,guncoin/guncoin,jlopp/statoshi,myriadteam/myriadcoin,MarcoFalke/bitcoin,JeremyRubin/bitcoin,Christewart/bitcoin,EthanHeilman/bitcoin,mruddy/bitcoin,Rav3nPL/bitcoin,sebrandon1/bitcoin,gjhiggins/vcoincore,domob1812/bitcoin,MazaCoin/maza,rnicoll/dogecoin,sipsorcery/bitcoin,ElementsProject/elements,peercoin/peercoin,r8921039/bitcoin,Rav3nPL/bitcoin,sebrandon1/bitcoin,Sjors/bitcoin,deeponion/deeponion,domob1812/namecore,jnewbery/bitcoin,jnewbery/bitcoin,MazaCoin/maza,bespike/litecoin,sipsorcery/bitcoin,MarcoFalke/bitcoin,paveljanik/bitcoin,jmcorgan/bitcoin,rnicoll/bitcoin,MarcoFalke/bitcoin,qtumproject/qtum,bitcoinsSG/bitcoin,peercoin/peercoin,sipsorcery/bitcoin,vmp32k/litecoin,rnicoll/dogecoin,litecoin-project/litecoin,BTCGPU/BTCGPU,domob1812/bitcoin,jonasschnelli/bitcoin,h4x3rotab/BTCGPU,anditto/bitcoin,BTCGPU/BTCGPU,jmcorgan/bitcoin,MazaCoin/maza,mitchellcash/bitcoin,domob1812/huntercore,FeatherCoin/Feathercoin,donaloconnor/bitcoin,pataquets/namecoin-core,wellenreiter01/Feathercoin,ajtowns/bitcoin,rnicoll/dogecoin,prusnak/bitcoin,brandonrobertz/namecoin-core,AkioNak/bitcoin,mruddy/bitcoin,dscotese/bitcoin,maaku/bitcoin,apoelstra/bitcoin,domob1812/huntercore,nikkitan/bitcoin,thrasher-/litecoin,tecnovert/particl-core,RHavar/bitcoin,vmp32k/litecoin,AkioNak/bitcoin,ericshawlinux/bitcoin,prusnak/bitcoin,digibyte/digibyte,sstone/bitcoin,RHavar/bitcoin,guncoin/guncoin,BTCGPU/BTCGPU,n1bor/bitcoin,achow101/bitcoin,brandonrobertz/namecoin-core,mm-s/bitcoin,bespike/litecoin,practicalswift/bitcoin,vertcoin/vertcoin,mb300sd/bitcoin,bitcoin/bitcoin,cdecker/bitcoin,stamhe/bitcoin,domob1812/namecore,1185/starwels,bitcoin/bitcoin,Christewart/bitcoin,sebrandon1/bitcoin,andreaskern/bitcoin,Kogser/bitcoin,guncoin/guncoin,GlobalBoost/GlobalBoost,Bushstar/UFO-Project,apoelstra/bitcoin,jtimon/bitcoin,jambolo/bitcoin,Kogser/bitcoin,dscotese/bitcoin,GroestlCoin/GroestlCoin,myriadteam/myriadcoin,tecnovert/particl-core,ahmedbodi/vertcoin,n1bor/bitcoin,jambolo/bitcoin,thrasher-/litecoin,nikkitan/bitcoin,AkioNak/bitcoin,afk11/bitcoin,mm-s/bitcoin,litecoin-project/litecoin,sebrandon1/bitcoin,GroestlCoin/bitcoin,achow101/bitcoin,bespike/litecoin,tjps/bitcoin,sebrandon1/bitcoin,1185/starwels,RHavar/bitcoin,ajtowns/bitcoin,lateminer/bitcoin,OmniLayer/omnicore,rnicoll/bitcoin,namecoin/namecoin-core,lbryio/lbrycrd,domob1812/namecore,jamesob/bitcoin,bitcoin/bitcoin,1185/starwels,alecalve/bitcoin,practicalswift/bitcoin,dscotese/bitcoin,alecalve/bitcoin,thrasher-/litecoin,laudaa/bitcoin,jonasschnelli/bitcoin,sebrandon1/bitcoin,domob1812/huntercore,bespike/litecoin,afk11/bitcoin,starwels/starwels,vertcoin/vertcoin,myriadteam/myriadcoin,instagibbs/bitcoin,deeponion/deeponion,domob1812/huntercore,rnicoll/bitcoin,BTCGPU/BTCGPU,namecoin/namecoin-core,practicalswift/bitcoin,wellenreiter01/Feathercoin,droark/bitcoin,ahmedbodi/vertcoin,ahmedbodi/vertcoin,Rav3nPL/bitcoin,deeponion/deeponion,myriadteam/myriadcoin,dscotese/bitcoin,vmp32k/litecoin,tecnovert/particl-core,GlobalBoost/GlobalBoost,ericshawlinux/bitcoin,AkioNak/bitcoin,DigitalPandacoin/pandacoin,bitcoinsSG/bitcoin,kazcw/bitcoin,practicalswift/bitcoin,Sjors/bitcoin,ryanofsky/bitcoin,instagibbs/bitcoin,digibyte/digibyte,mitchellcash/bitcoin,cdecker/bitcoin,r8921039/bitcoin,deeponion/deeponion,particl/particl-core,GroestlCoin/bitcoin,achow101/bitcoin,peercoin/peercoin,MeshCollider/bitcoin,Bushstar/UFO-Project,cdecker/bitcoin,vmp32k/litecoin,lateminer/bitcoin,myriadcoin/myriadcoin,droark/bitcoin,kallewoof/bitcoin,jambolo/bitcoin,ppcoin/ppcoin,MazaCoin/maza,prusnak/bitcoin,viacoin/viacoin,achow101/bitcoin,mitchellcash/bitcoin,digibyte/digibyte,donaloconnor/bitcoin,Kogser/bitcoin,JeremyRubin/bitcoin,fujicoin/fujicoin,mitchellcash/bitcoin,ajtowns/bitcoin,JeremyRubin/bitcoin,vertcoin/vertcoin,tjps/bitcoin,fujicoin/fujicoin,CryptArc/bitcoin,mruddy/bitcoin,namecoin/namecoin-core,digibyte/digibyte,1185/starwels,stamhe/bitcoin,droark/bitcoin,TheBlueMatt/bitcoin,practicalswift/bitcoin,fujicoin/fujicoin,particl/particl-core,OmniLayer/omnicore,globaltoken/globaltoken,ahmedbodi/vertcoin,jambolo/bitcoin,CryptArc/bitcoin,Bushstar/UFO-Project,sipsorcery/bitcoin,thrasher-/litecoin,fanquake/bitcoin,ryanofsky/bitcoin,domob1812/namecore,mruddy/bitcoin,GlobalBoost/GlobalBoost,kazcw/bitcoin,rnicoll/bitcoin,gjhiggins/vcoincore,RHavar/bitcoin,Flowdalic/bitcoin,joshrabinowitz/bitcoin,Kogser/bitcoin,fanquake/bitcoin,namecoin/namecoin-core,bitcoin/bitcoin,viacoin/viacoin,donaloconnor/bitcoin,apoelstra/bitcoin,Flowdalic/bitcoin,randy-waterhouse/bitcoin,BTCGPU/BTCGPU