#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> iint;
typedef pair<ll,ll> llll;
#define ALL(x) (x).begin(),(x).end()
const ll zero = 0;
const ll one = 1;
const ll INF = 9223372036854775807; //10^18
const int inINF = 2147483647; //10^9
const ll MOD = 1000000007; //10^9+7
const ll MOD2 = 998244353;
void Yes() {printf("Yes\n");}
void No() {printf("No\n");}
void YES() {printf("YES\n");}
void NO() {printf("NO\n");}

void solve(){
    int N;
    cin >> N;
    vector<ll> a(N);
    for (int i = 0; i < N; i++) {
        cin >> a[i];
    }
    if(N % 2 == 0){
        map<ll, int> m;
        for (int i = 0; i < N; i++) {
            if(m.count(a[i])){
                m[a[i]]++;
            }
            else{
                m[a[i]] = 1;
            }
        }
        for (auto v : m){
            if(v.second % 2 == 1){
                printf("First\n");
                return;
            }
        }
        printf("Second\n");
        return;
    }
    else{
        printf("Second\n");
        return;


    }


}

int main(){
    int t;
    cin >> t;
    for (int i = 0; i < t; i++) {
        solve();
    }

}
#include<bits/stdc++.h>
#define M_PI       3.14159265358979323846
#define Speed_UP  ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define   pb  push_back 
#define   ff  first 
#define   ss  second 
#define sz(x) (int)x.size()
#define all(x) (x).begin(), (x).end()
#warning Remember to change t
inline void setIO();
using namespace std;
typedef long long ll;
typedef long double ld;

int solve(){
  ll n;
  cin>>n;
  ll arr[n];
  for(int i=0;i<n;i++){
    cin>>arr[i];
  }

  // n-1 spaces
  ll ans = 1e10;
  for(ll i=0;i<(1LL<<(n-1));i++){
    ll ored = 0;
    ll xord = 0;

    for(ll j = 0;j<n;j++){
      ored|=arr[j];
      if(((1LL<<j)&i)!=0||j==n-1){
        // cout<<ored<<" ";
        xord^=ored;
        ored = 0;
      }
    }
    // cout<<xord<<"\n";
    ans = min(xord,ans);
  }
  cout<<ans;


  return 0;
  }
  
int main(){
  Speed_UP
  
  #ifndef ONLINE_JUDGE
  freopen("input.txt", "r", stdin);
  #endif

  ll t = 1;
  while(t--){
    solve();
  }
}


inline void setIO(string name="") {
  #ifndef ONLINE_JUDGE 
  freopen((name+".in").c_str(), "r", stdin); 
  freopen((name+".out").c_str(), "w", stdout);
  #endif
  }
