[IMP] account_analytic_required: make test use [ids] in write

For compatibility with account_constraints.