test: add coverage for -getinfo total_balance
test: add coverage for -getinfo total_balance

Github-Pull: #19092
Rebased-From: 414804e877f630a630c3d6226cb6714c0a6320e8

bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin