#include <bits/stdc++.h>
using namespace std;
const long long N = (long long)1e6 + 7;
const long long MOD = (long long)1e9 + 7;
const long long inf = (long long)1e9 + 7;
const long long INF = (long long)1e18 + 7;
long long n, m;
bool a[60][60], u[60], v[60];
void solve() {
  cin >> n >> m;
  for (long long i = 1; i <= n; ++i) {
    u[i] = 0;
    for (long long j = 1; j <= m; ++j) {
      cin >> a[i][j];
      v[j] = 0;
    }
  }
  long long cnt = 0;
  for (long long i = 1; i <= n; ++i) {
    for (long long j = 1; j <= m; ++j) {
      if (a[i][j] == 1) {
        u[i] = v[j] = 1;
      }
    }
  }
  for (long long i = 1; i <= n; ++i) {
    for (long long j = 1; j <= m; ++j) {
      if (u[i] == 0 && v[j] == 0) {
        cnt++;
        v[j] = 1;
        break;
      }
    }
  }
  if (cnt & 1)
    cout << "Ashish\n";
  else
    cout << "Vivek\n";
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long test = 1;
  cin >> test;
  for (long long i = 1; i <= test; i++) {
    solve();
  }
  return 0;
}
