#include <bits/stdc++.h>
using namespace std;
const int MAX = 60;
int n, m, G[MAX][MAX];
bool r[MAX], c[MAX];
int main(void) {
  int T;
  scanf("%d", &T);
  while (T--) {
    memset(r, 0, sizeof(r)), memset(c, 0, sizeof(c));
    scanf("%d%d", &n, &m);
    for (register int i = (1); i <= (n); ++i)
      for (register int j = (1); j <= (m); ++j) {
        scanf("%d", &G[i][j]);
        if (G[i][j]) r[i] = c[j] = 1;
      }
    int cr = 0, cc = 0;
    for (register int i = (1); i <= (n); ++i)
      if (!r[i]) ++cr;
    for (register int i = (1); i <= (m); ++i)
      if (!c[i]) ++cc;
    printf("%s\n", min(cr, cc) & 1 ? "Ashish" : "Vivek");
  }
  return 0;
}
