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: context.rs
    path of file: ./repos/databend/src/query/ee/src/test_kits
    
    the code of the file until where you have to start completion: // Copyright 2023 Databend Cloud
//
// Licensed under the Elastic License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.ela
    
    pub fn new() -> Self {
        let key_pair = ES256KeyPair::generate();
        let claims = Claims::with_custom_claims(
            build_custom_claims("trial".to_string(), "databend".to_string()),
            Duration::from_hours(2),
        );
        let token = key_pair.sign(claims).unwrap();
        let public_key = key_pair.public_key().to_pem().unwrap();

        let mut conf = ConfigBuilder::create().config();
        conf.query.databend_enterprise_license = Some(token);
        conf.storage.allow_insecure = true;

        let tmp_dir = TempDir::new().expect("create tmp dir failed");
        let root = tmp_dir.path().to_str().unwrap().to_string();
        conf.storage.params = StorageParams::Fs(StorageFsConfig { root });
        Self {
            config: conf,
            pk: public_key,
        }
    }