#include <bits/stdc++.h>
int main() {
  int cas;
  scanf("%d", &cas);
  while (cas--) {
    int n, m;
    scanf("%d%d", &n, &m);
    std::vector<int> row(n), col(m);
    for (int i = 0; i < n; ++i) {
      for (int j = 0; j < m; ++j) {
        int x;
        scanf("%d", &x);
        row[i] += x;
        col[j] += x;
      }
    }
    int w = std::min(
        std::count_if(row.begin(), row.end(), [](int x) { return x == 0; }),
        std::count_if(col.begin(), col.end(), [](int x) { return x == 0; }));
    puts((w & 1) ? "Ashish" : "Vivek");
  }
}
