#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[50][50], ans, i, j, m, n, t, c, r;
  cin >> t;
  while (t--) {
    int col[50] = {0}, row[50] = {0};
    cin >> n >> m;
    for (i = 0; i < n; i++) {
      for (j = 0; j < m; j++) {
        cin >> a[i][j];
        if (a[i][j] == 1) {
          row[i] = 1;
          col[j] = 1;
        }
      }
    }
    c = 0;
    r = 0;
    for (i = 0; i < n; i++) {
      if (row[i] == 0) r++;
    }
    for (i = 0; i < m; i++) {
      if (col[i] == 0) c++;
    }
    if (c > r)
      ans = r;
    else
      ans = c;
    if (ans % 2)
      cout << "Ashish\n";
    else
      cout << "Vivek\n";
  }
}
