#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  long long int n, m, arr[52][52], ccol = 0, crow = 0, flag, ans;
  for (int test = 0; test < t; test++) {
    cin >> n >> m;
    crow = 0;
    ccol = 0;
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < m; j++) {
        cin >> arr[i][j];
      }
    }
    for (int i = 0; i < n; i++) {
      flag = 0;
      for (int j = 0; j < m; j++) {
        if (arr[i][j] == 1) {
          flag = 1;
          break;
        }
      }
      if (flag == 0) {
        crow++;
      }
    }
    for (int j = 0; j < m; j++) {
      flag = 0;
      for (int i = 0; i < n; i++) {
        if (arr[i][j] == 1) {
          flag = 1;
          break;
        }
      }
      if (flag == 0) {
        ccol++;
      }
    }
    if (ccol > crow) {
      ans = crow;
    } else {
      ans = ccol;
    }
    if (ans % 2 == 0) {
      cout << "Vivek" << endl;
    } else {
      cout << "Ashish" << endl;
    }
  }
  return 0;
}
