Fix idempotency tests

Signed-off-by: Ken Barber <ken@bob.sh>