#include <bits/stdc++.h>
using namespace std;
const int MAX = 2e6;
const long long M = 1e9 + 7, inf = 1e18;
const char nl = '\n';
long long apbmc(long long a, long long b, long long c) {
  a %= c;
  long long res = 1;
  while (b) {
    if (b & 1) res = res * a % c;
    a = a * a % c;
    b >>= 1;
  }
  return res;
}
long long apb(long long x, long long y) {
  long long temp;
  if (y == 0) return 1;
  temp = apb(x, y / 2);
  if (y % 2 == 0)
    return temp * temp;
  else
    return temp * temp * x;
}
void solve() {
  int n;
  cin >> n;
  vector<int> v(n);
  for (int &i : v) cin >> i;
  for (int i = 0; i < n; i++) {
    int x, y;
    bool a1 = false, a2 = false;
    for (int j = 0; j < i; j++) {
      if (v[j] < v[i]) {
        a1 = true;
        x = j;
        break;
      }
    }
    for (int j = i + 1; j < n; j++) {
      if (v[j] < v[i]) {
        a2 = true;
        y = j;
        break;
      }
    }
    if (a1 && a2) {
      cout << "YES" << nl;
      cout << x + 1 << " " << i + 1 << " " << y + 1 << nl;
      return;
    }
  }
  cout << "NO" << nl;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout << fixed << setprecision(10);
  int t;
  cin >> t;
  while (t--) solve();
  return 0;
}
