#include <bits/stdc++.h>
using namespace std;
const int MAXN = 50 + 5;
int T, n, m, a[MAXN], b[MAXN], ac, bc, les;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> T;
  while (T--) {
    memset(a, 0, sizeof(a));
    memset(b, 0, sizeof(b));
    ac = bc = 0;
    cin >> n >> m;
    for (int i = 1; i <= n; i++)
      for (int j = 1; j <= m; j++) {
        int op;
        cin >> op;
        if (op) a[i] = b[j] = 1;
      }
    for (int i = 1; i <= n; i++)
      if (a[i] == 0) ac++;
    for (int i = 1; i <= m; i++)
      if (b[i] == 0) bc++;
    les = min(ac, bc);
    if (les & 1)
      cout << "Ashish" << endl;
    else
      cout << "Vivek" << endl;
  }
  return 0;
}
