An agent's reply is a claim. "Your refund is done" is what a working agent says, and also what a broken one says when its refund tool never ran. The first rule of agent testing: check the world, not the words. After the agent acts, read the state it was supposed to change.
OrderDesk exposes its database through /agent/state. Every test starts from the same five orders.
Your task
Replace the starter's reply check with checks on the database: a full refund, a partial refund, and an order that must not be refunded. On submit your tests run against working builds, which word their replies differently, and a build that claims refunds it never made.