Add idempotency check to the delete test