test_predict_model function

Model testing function