#include <bits/stdc++.h>
using namespace std;
const int maxn = 100;
int a[maxn][maxn];
int main() {
  int T;
  scanf("%d", &T);
  while (T--) {
    memset(a, 0, sizeof a);
    int n, m;
    int cnt = 0;
    scanf("%d%d", &n, &m);
    for (int i = 1; i <= n; i++) {
      for (int j = 1; j <= m; j++) {
        scanf("%d", &a[i][j]);
      }
    }
    for (int i = 1; i <= n; i++) {
      for (int j = 1; j <= m; j++) {
        if (a[i][j] == 1) {
          a[0][j] = 1;
          a[i][0] = 1;
        }
      }
    }
    while (1) {
      int flag = 0;
      for (int i = 1; i <= n; i++) {
        for (int j = 1; j <= m; j++) {
          if (a[0][j] == 0 && a[i][0] == 0) {
            cnt++;
            flag = 1;
            a[0][j] = a[i][0] = 1;
            break;
          }
        }
      }
      if (flag == 0) break;
    }
    if (cnt % 2 == 0)
      printf("Vivek\n");
    else
      printf("Ashish\n");
  }
  return 0;
}
