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: execution_phase_tests.rs
    path of file: ./repos/diem/consensus/src/experimental/tests
    
    the code of the file until where you have to start completion: // Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0

use crate::{
    experimental::{
        execution_phase::{ExecutionPhase, ExecutionRequest, ExecutionResponse},
        pipeline_phase::{PipelinePhase, ResponseWithInstruction, StatelessPipeline},
    },
    test_utils::{consensus_runtime, timed_block_on, RandomComputeResultStateComputer},
};
use consensus_types::{
    block::{block_test_utils::certificate_for_genesis, Block},
    executed_block::ExecutedBlock,
};
use diem_crypto::HashValue;
use diem_types::validator_verifier::random_validator_verifier;
use executor_types::StateComputeResult;
use futures::{
    channel::mpsc::{unbounded, UnboundedReceiver, UnboundedSender},
    SinkExt, StreamExt,
};
use std::sync::Arc;

pub fn prepare_execution_phase() -> (HashValue
    
fn test_execution_phase_happy_path() {
    let mut runtime = consensus_runtime();

    let (mut in_channel_tx, mut out_channel_rx, random_hash_value, execution_phase_pipeline) =
        prepare_execution_pipeline();

    runtime.spawn(execution_phase_pipeline.start());

    let genesis_qc = certificate_for_genesis();
    let (signers, _validators) = random_validator_verifier(1, None, false);
    let block = Block::new_proposal(vec![], 1, 1, genesis_qc, &signers[0]);

    timed_block_on(&mut runtime, async move {
        in_channel_tx
            .send(ExecutionRequest {
                ordered_blocks: vec![ExecutedBlock::new(block, StateComputeResult::new_dummy())],
            })
            .await
            .ok();

        let out_item = out_channel_rx.next().await.unwrap();

        assert_eq!(
            out_item.inner.unwrap()[0].compute_result().root_hash(),
            random_hash_value
        );
    });
}