fix needs_approvals in tests