Add unit test for UpdateCoins
Add unit test for UpdateCoins

(adapted from bitcoin/bitcoin@1cf3dd80a614fddbafac387e446fd83d118e0c25,
removing the 'spent_a_duplicate_coinbase' checks)
PIVX-Project/PIVX,Darknet-Crypto/Darknet,PIVX-Project/PIVX,PIVX-Project/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet,PIVX-Project/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet,Darknet-Crypto/Darknet,PIVX-Project/PIVX,Darknet-Crypto/Darknet,PIVX-Project/PIVX,Darknet-Crypto/Darknet,PIVX-Project/PIVX