modified model.pm, make switching configuration between product and test easily