#include <bits/stdc++.h>
using namespace std;
int checkdigit(int n, int k) {
  while (n) {
    int rem = n % 10;
    if (rem == k) return 1;
    n = n / 10;
  }
  return 0;
}
int main() {
  long long t;
  cin >> t;
  while (t--) {
    long long n, m;
    cin >> n >> m;
    long long a[n][m];
    set<int> r, c;
    for (int(i) = (0); (i) < (n); ++(i)) {
      for (int(j) = (0); (j) < (m); ++(j)) {
        cin >> a[i][j];
        if (a[i][j] == 1) {
          r.insert(i);
          c.insert(j);
        }
      }
    }
    long long ans = 0;
    for (int(i) = (0); (i) < (n); ++(i)) {
      for (int(j) = (0); (j) < (m); ++(j)) {
        if (r.count(i) == 0 && c.count(j) == 0) {
          ans++;
          r.insert(i);
          c.insert(j);
        }
      }
    }
    if (ans % 2 != 0)
      cout << "Ashish" << endl;
    else
      cout << "Vivek" << endl;
  }
}
