#include <bits/stdc++.h>
using namespace std;
int T, n, m, a[100][100], cnt;
bool flag, isOk;
int main() {
  ios::sync_with_stdio(0);
  cin >> T;
  for (int t = 0; t < T; t++) {
    cin >> n >> m;
    for (int i = 0; i < n; i++)
      for (int j = 0; j < m; j++) cin >> a[i][j];
    flag = true;
    cnt = 0;
    while (flag) {
      flag = false;
      for (int i = 0; i < n; i++) {
        for (int j = 0; j < m; j++) {
          if (a[i][j] == 1) continue;
          isOk = true;
          for (int k = 0; k < n; k++)
            if (a[k][j] == 1) isOk = false;
          for (int k = 0; k < m; k++)
            if (a[i][k] == 1) isOk = false;
          if (isOk) {
            flag = true;
            a[i][j] = 1;
          }
        }
        if (flag) break;
      }
      if (flag) cnt++;
    }
    if (cnt % 2 == 0)
      cout << "Vivek\n";
    else
      cout << "Ashish\n";
  }
  return 0;
}
