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