add pre_testing