Add testing on idempotency.