#include <bits/stdc++.h>
using namespace std;
const long long M = 1e9 + 7;
const long long nax = 1e3 + 1;
void solve() {
  long long n, m;
  cin >> n >> m;
  long long a[n][m];
  bool row[n], col[m];
  for (int i = 0; i < m; ++i) {
    col[i] = false;
  }
  for (int i = 0; i < n; ++i) {
    row[i] = false;
    for (int j = 0; j < m; ++j) {
      cin >> a[i][j];
      if (a[i][j]) {
        row[i] = col[j] = true;
      }
    }
  }
  bool check = true, x = false;
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < m; ++j) {
      if (!col[j] && !row[i]) {
        col[j] = row[i] = true;
        check = !check;
        x = true;
        break;
      }
    }
  }
  if (check)
    cout << "Vivek" << endl;
  else
    cout << "Ashish" << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t = 1, t1 = 1;
  cin >> t;
  while (t--) {
    solve();
  }
  return 0;
}
