Add test for rate correctness, with a Bitpay mock