Add missing functions to the util/btc test.