[test] Add getblockchaininfo functional test