test: Add a test that creates a wallet with invalid parameters
test: Add a test that creates a wallet with invalid parameters

Invalid parameters must not prevent a new wallet with the same name
from being created with the correct parameters

Github-Pull: #24859
Rebased-From: 6f29409ad180ef00998ac05997f0fa03f98cd066

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