def METHOD_NAME(run_component, tmp_path):
    output_path = tmp_path / "output.h5mu"
    # create input data
    input_data = mu.read_h5mu(input_path)
    input_data.mod['rna'].var["filter_with_hvg"] = True
    tmp_file = tmp_path / "input_data_adjusted.h5mu"
    input_data.write_h5mu(tmp_file)
    # run component
    run_component([
        "--input", str(tmp_file),
        "--output", str(output_path),
        "--obsm_output", "X_foo",
        "--num_components", "26",
        "--var_input", "filter_with_hvg",
        "--overwrite"
    ])
    assert output_path.is_file()
    # check whether pca was found
    data = mu.read_h5mu(output_path)
    assert data.mod["rna"].obsm["X_foo"].shape == (data.n_obs, 26)
    assert "highly_variable" not in data.mod["rna"].var.columns
    assert "filter_with_hvg" in data.mod["rna"].var.columns
    assert "pca_variance" in data.mod['rna'].uns
    assert "pca_loadings" in data.mod['rna'].varm
    assert "X_pca" in data.mod['rna'].obsm