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: mod.rs
    path of file: ./repos/holochain-rust/crates/core/src/nucleus/actions
    
    the code of the file until where you have to start completion: pub mod build_validation_package;
pub mod call_init;
pub mod call_zome_function;
pub mod get_entry;
pub mod initialize;
pub mod run_validation_callback;
pub mod trace_invoke_hdk_function;
pub mod trace_return_hdk_fu
    
    pub fn test_dna() -> Dna {
        // Setup the holochain instance
        let target_path: PathBuf = [
            String::from("src"),
            String::from("nucleus"),
            String::from("actions"),
            String::from("wasm-test"),
        ]
        .iter()
        .collect();
        let target_dir = wasm_target_dir(&String::from("core").into(), &target_path);
        let mut wasm_path = PathBuf::new();
        let wasm_path_component: PathBuf = [
            "wasm32-unknown-unknown",
            "release",
            "nucleus_actions_tests.wasm",
        ]
        .iter()
        .collect();
        wasm_path.push(target_dir);
        wasm_path.push(wasm_path_component);

        let wasm = create_wasm_from_file(&wasm_path);

        let defs = (Vec::new(), BTreeMap::new());
        let mut dna = create_test_dna_with_defs("test_zome", defs, &wasm);

        dna.zomes
            .get_mut("test_zome")
            .unwrap()
            .entry_types
            .insert("package_entry".into(), EntryTypeDef::new());
        dna.zomes
            .get_mut("test_zome")
            .unwrap()
            .entry_types
            .insert("package_chain_entries".into(), EntryTypeDef::new());
        dna.zomes
            .get_mut("test_zome")
            .unwrap()
            .entry_types
            .insert("package_chain_headers".into(), EntryTypeDef::new());
        dna.zomes
            .get_mut("test_zome")
            .unwrap()
            .entry_types
            .insert("package_chain_full".into(), EntryTypeDef::new());

        dna
    }