test: add -getinfo command parsing regression tests
test: add -getinfo command parsing regression tests

These tests fail without the changes in the first commit of this PR.

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