You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: chain_registration.rs
    path of file: ./repos/wormhole/cosmwasm/contracts/ntt-global-accountant/tests
    
    the code of the file until where you have to start completion: mod helpers;

use cosmwasm_std::{to_binary, Event};
use helpers::*;
use ntt_global_accountant::msg::RelayerChainRegistrationResponse;
use wormhole_sdk::{
    relayer::{Action, GovernancePacket},
    vaa::Body,
    Address, Chain,
};

fn 
    
fn bad_signature() {
    let (wh, mut contract) = proper_instantiate();
    let (mut v, _) = sign_vaa_body(&wh, create_vaa_body());

    // Flip a bit in the first signature so it becomes invalid.
    v.signatures[0].signature[0] ^= 1;

    let data = serde_wormhole::to_vec(&v).map(From::from).unwrap();
    let err = contract
        .submit_vaas(vec![data])
        .expect_err("successfully executed chain registration with bad signature");
    assert_eq!(
        "generic error: querier contract error: failed to verify signature",
        err.root_cause().to_string().to_lowercase()
    );
}