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: test_spm_cfg_dcm_peb.m
    path of file: ./repos/spm/tests
    
    the code of the file until where you have to start completion: function tests = test_spm_cfg_dcm_peb
% Unit Tests for spm_cfg_dcm_peb (PEB batch)
%__________________________________________________________________________

% Copyright (C) 2016-2022 Wellcome Centre for Human Neuroimaging


tests = functiontests(localfunctions);

% -------------------------------------------------------------------------
function setup(testCase)

% Initialize SPM
spm('defaults','fmri');
spm_jobman('initcfg');
spm_get_defaults('cmdline',true);
spm_get_defaults('dcm.verbose',false);

% Delete artefacts before each test
model_dir = fullfile(get_data_path(),'models');
expected_output = {fullfile(model_dir,'PEB_test.mat');
                   fullfile(model_dir,'BMA_PEB_test.mat');

    
function tests = test_spm_cfg_dcm_peb
% Unit Tests for spm_cfg_dcm_peb (PEB batch)
%__________________________________________________________________________

% Copyright (C) 2016-2022 Wellcome Centre for Human Neuroimaging


tests = functiontests(localfunctions);

% -------------------------------------------------------------------------
function setup(testCase)

% Initialize SPM
spm('defaults','fmri');
spm_jobman('initcfg');
spm_get_defaults('cmdline',true);
spm_get_defaults('dcm.verbose',false);

% Delete artefacts before each test
model_dir = fullfile(get_data_path(),'models');
expected_output = {fullfile(model_dir,'PEB_test.mat');
                   fullfile(model_dir,'BMA_PEB_test.mat');
                   fullfile(model_dir,'LOO_test.mat');
                   fullfile(model_dir,'GCM_simulated_abridged.mat')};

for i = 1:length(expected_output)
    if exist(expected_output{i},'file')
        spm_unlink(expected_output{i});
    end