#include <bits/stdc++.h>
using namespace std;
const int MAX = 60;
int n, m, G[MAX][MAX];
bool r[MAX], c[MAX];
bool place() {
  for (register int i = (1); i <= (n); ++i)
    if (!r[i])
      for (register int j = (1); j <= (m); ++j)
        if (!c[j]) {
          r[i] = c[j] = 1;
          return true;
        }
  return false;
}
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 player = 0;
    while (true) {
      if (!place()) {
        printf("%s\n", player == 0 ? "Vivek" : "Ashish");
        break;
      }
      player ^= 1;
    }
  }
  return 0;
}
