Merge #11877: Improve createrawtransaction functional tests