model.test.wrapper function

Model test wrapper