create generateDecision() in TestClient