modified test case deploy_recommend