#include <bits/stdc++.h>
using namespace std;
int main() {
  int r, c, k, l;
  int t;
  cin >> t;
  while (t--) {
    cin >> r >> c;
    bool b = true;
    int a[50][50];
    int i, j;
    for (i = 0; i < r; i++) {
      for (j = 0; j < c; j++) {
        cin >> a[i][j];
      }
    }
    int counter = 0, loc[50];
    for (j = 0; j < c; j++) {
      b = true;
      for (i = 0; i < r; i++) {
        if (a[i][j] == 1) {
          b = false;
          break;
        }
      }
      if (b) counter++;
    }
    int counter1 = 0;
    for (j = 0; j < r; j++) {
      b = true;
      for (i = 0; i < c; i++) {
        if (a[j][i] == 1) {
          b = false;
          break;
        }
      }
      if (b) counter1++;
    }
    if (counter > counter1) counter = counter1;
    if (counter % 2 == 0)
      cout << "Vivek" << endl;
    else
      cout << "Ashish" << endl;
  }
}
