#include <bits/stdc++.h>
const int INF = 1e8;
const long long MOD = 1e9 + 7;
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int grid[55][55];
  int r[55], c[55];
  int t = 1, n, m;
  cin >> t;
  for (int nc = 0; nc < t; nc++) {
    cin >> n >> m;
    for (int i = 0; i < n; i++) r[i] = 0;
    for (int i = 0; i < m; i++) c[i] = 0;
    for (int i = 0; i < n; i++)
      for (int j = 0; j < m; j++) {
        cin >> grid[i][j];
        if (grid[i][j] == 1) r[i]++, c[j]++;
      }
    int ans = 0;
    for (int i = 0; i < n; i++)
      for (int j = 0; j < m; j++)
        if (grid[i][j] == 0 && r[i] == 0 && c[j] == 0) {
          ans++;
          r[i]++, c[j]++;
        }
    if (ans % 2 == 0)
      cout << "Vivek";
    else
      cout << "Ashish";
    cout << "\n";
  }
  return 0;
}
