Add tests for user idempotency