#include <bits/stdc++.h>
using namespace std;
double jk = 0.004;
const long long mod = 1e9 + 7;
const long long N = 1000000000;
const long long int val = 1000005;
long long int in() {
  long long int n;
  cin >> n;
  return n;
}
void _do_() {
  long long int n, m;
  cin >> n >> m;
  long long int a[n][m];
  for (long long int i = 0; i < n; ++i) {
    for (long long int j = 0; j < m; ++j) {
      cin >> a[i][j];
    }
  }
  long long int count = 0;
  bool ashish = false, vivek = true;
  for (long long int i = 0; i < n; ++i) {
    bool clear = true;
    for (long long int j = 0; j < m; ++j) {
      if (a[i][j] == 1) {
        clear = false;
      }
    }
    if (clear) {
      for (long long int j = 0; j < m; ++j) {
        bool clearcol = true;
        for (long long int k = 0; k < n; ++k) {
          if (a[k][j] == 1) clearcol = false;
        }
        if (clearcol) {
          a[i][j] = 1;
          count++;
          break;
        }
      }
    }
  }
  if (count % 2 == 0)
    cout << "Vivek"
         << "\n";
  else
    cout << "Ashish"
         << "\n";
}
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int tc;
  cin >> tc;
  while (tc--) _do_();
  cerr << "Time elapsed:";
  cerr << 1000 * clock() / CLOCKS_PER_SEC << " ms ";
  return 0;
}
