#include <bits/stdc++.h>
using namespace std;
long long power(long long x, long long y) {
  long long out = 1;
  while (y > 0) {
    if (y & 1) out = (out * x) % 1000000007;
    y = y >> 1;
    x = (x * x) % 1000000007;
  }
  return out % 1000000007;
}
long long inverse(long long a) { return power(a, 1000000007 - 2) % 1000000007; }
void comp() {
  long long i, j, k, m, n;
  cin >> n;
  vector<long long> v1;
  for (i = 0; i < n; i++) {
    cin >> j;
    v1.push_back(j);
  }
  for (i = 1; i < n - 1; i++) {
    long long temp = v1[i];
    int f = 0, f1 = 0;
    for (j = 0; j < i; j++) {
      if (v1[j] < temp) {
        f = j + 1;
        break;
      }
    }
    for (j = i + 1; j < n; j++) {
      if (v1[j] < temp) {
        f1 = j + 1;
        break;
      }
    }
    if (f && f1) {
      cout << "YES\n";
      cout << f << " " << i + 1 << " " << j + 1 << "\n";
      return;
    }
  }
  cout << "NO\n";
}
int32_t main() {
  ios_base::sync_with_stdio(false), cin.tie(0);
  long long i = 0, t;
  t = 1;
  cin >> t;
  while (t--) {
    comp();
  }
  return 0;
}
