Fix mining rewards test

Rewrote tests for mining rewards, to at least approximately match Doge.
Due to huge number of DOGE, tests cannot be completed without significant
re-engineering of number handling code.