#include <bits/stdc++.h>
using namespace std;
int check(long long int** arr, long long int i, long long int j,
          long long int n, long long int m) {
  long long int k, l;
  for (k = 0; k < m; k++) {
    if (arr[i][k] == 1) return 0;
  }
  for (l = 0; l < n; l++) {
    if (arr[l][j] == 1) return 0;
  }
  return 1;
}
int main() {
  long long int t, n, x, i, j, m, o, e, flg;
  cin >> t;
  while (t--) {
    cin >> n >> m;
    long long int** arr;
    arr = (long long int**)malloc(n * sizeof(long long int*));
    for (i = 0; i < n; i++) {
      arr[i] = (long long int*)malloc(m * sizeof(long long int));
    }
    for (i = 0; i < n; i++)
      for (j = 0; j < m; j++) cin >> arr[i][j];
    o = 0;
    while (1) {
      flg = 0;
      for (i = 0; i < n; i++) {
        for (j = 0; j < m; j++) {
          if (arr[i][j] == 0 && check(arr, i, j, n, m) == 1) {
            flg = 1;
            arr[i][j] = 1;
            if (o == 0)
              o = 1;
            else
              o = 0;
          }
        }
      }
      if (flg == 0) break;
    }
    if (o == 0)
      cout << "Vivek\n";
    else
      cout << "Ashish\n";
  }
}
