addmultisigaddress is not available in descriptor wallets, so only run these when testing legacy wallets
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/18788 | core#18788]] [8/15]
https://github.com/bitcoin/bitcoin/pull/18788/commits/59d3da5bce4ebd9c2291d8f201a53ee087938b21