tests: Test that a fully signed tx given to signrawtx is unchanged
tests: Test that a fully signed tx given to signrawtx is unchanged

Tests that a fully signed transaction given to
signrawtransactionwithwallet is both unchanged and marked as complete.
This tests for a regression in 0.20 where the transaction would not be
marked as complete.

Github-Pull: #20562
Rebased-From: 773c42b265fb2212b5cb8785b7226a206d063543

rnicoll/dogecoin,qtumproject/qtum,qtumproject/qtum,rnicoll/dogecoin,qtumproject/qtum,litecoin-project/litecoin,litecoin-project/litecoin,qtumproject/qtum,litecoin-project/litecoin,qtumproject/qtum,rnicoll/dogecoin,rnicoll/dogecoin,qtumproject/qtum,litecoin-project/litecoin,rnicoll/dogecoin,litecoin-project/litecoin,qtumproject/qtum,litecoin-project/litecoin