#include <bits/stdc++.h>
using namespace std;
inline int read() {
  char ch = getchar();
  int f = 1, x = 0;
  while (!isdigit(ch)) {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  return f * x;
}
int t;
int n, m;
const int maxv = 50 + 10;
int a[maxv][maxv];
int b[maxv][maxv];
int c[maxv][maxv];
int main() {
  t = read();
  while (t--) {
    n = read();
    m = read();
    for (int i = 1; i <= n; i++)
      for (int j = 1; j <= m; j++) a[i][j] = read();
    int bm = 0;
    for (int i = 1; i <= n; i++) {
      bool flag = true;
      for (int j = 1; j <= m; j++)
        if (a[i][j] == 1) flag = false;
      if (flag) bm++;
    }
    int bn = 0;
    for (int j = 1; j <= m; j++) {
      bool flag = true;
      for (int i = 1; i <= n; i++)
        if (a[i][j] == 1) flag = false;
      if (flag) bn++;
    }
    bm = min(bn, bm);
    if (bm % 2 == 0)
      printf("Vivek\n");
    else
      printf("Ashish\n");
  }
  return 0;
}
