Factoring out a bunch of boilerplate code in the RPC tests.
Factoring out a bunch of boilerplate code in the RPC tests.

SergiySW/raiblocks,drizzt/raiblockscommunity,clemahieu/raiblocks,SergiySW/raiblocks,clemahieu/raiblocks,SergiySW/raiblocks,clemahieu/raiblocks,SergiySW/raiblocks,drizzt/raiblockscommunity,drizzt/raiblockscommunity,clemahieu/raiblocks,clemahieu/raiblocks,clemahieu/raiblocks,drizzt/raiblockscommunity,drizzt/raiblockscommunity,SergiySW/raiblocks