#include <bits/stdc++.h>
using namespace std;
long long n, m, k, i, j, l;
void program() {
  long long r = 0;
  cin >> n >> m;
  int ar[n][m];
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      cin >> ar[i][j];
    }
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      int ck = 0;
      if (ar[i][j] == 0) {
        for (k = 0; k < m; k++) {
          if (ar[i][k] == 1) {
            ck = 1;
            break;
          }
        }
        if (ck != 1) {
          for (k = 0; k < n; k++) {
            if (ar[k][j] == 1) {
              ck = 1;
              break;
            }
          }
        }
        if (ck == 0) {
          r++;
          ar[i][j] = 1;
        }
      }
    }
  }
  if (r % 2 == 0)
    cout << "Vivek" << endl;
  else
    cout << "Ashish" << endl;
}
int main() {
  long long t;
  cin >> t;
  while (t--) program();
  return 0;
}
