#include <bits/stdc++.h>
using namespace std;
const int mod = 998244353;
long long t, m, n, a[55][55];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> t;
  while (t--) {
    cin >> m >> n;
    for (int i = 1; i <= m; i++)
      for (int j = 1; j <= n; j++) cin >> a[i][j];
    long long l = 0, c = 0;
    for (int i = 1; i <= m; i++) {
      long long tmp = 0;
      for (int j = 1; j <= n; j++) tmp |= a[i][j];
      l += (tmp == 0);
    }
    for (int j = 1; j <= n; j++) {
      long long tmp = 0;
      for (int i = 1; i <= m; i++) tmp |= a[i][j];
      c += (tmp == 0);
    }
    l = min(l, c);
    if (l & 1)
      cout << "Ashish" << '\n';
    else
      cout << "Vivek" << '\n';
  }
}
