#include <bits/stdc++.h>
using namespace std;
vector<long long> veka(11);
vector<long long> niz(11);
vector<long long> kata(11);
vector<long long> hepa(11);
struct struka {
  long long val;
  long long ind;
};
vector<struka> sutra(11);
bool compa(struka& a, struka& b) {
  if (a.val == b.val) return a.ind < b.ind;
  return a.val < b.val;
}
int main() {
  long long i, j, k, kn, m, n, p, t, r, x, y, z, a, b, c;
  long long val, pos, tmp, suma, maxa, mina, naso, prvi, drugi;
  string str1;
  char ch1;
  cin >> t;
  for (p = 1; p <= t; p++) {
    cin >> n;
    cin >> prvi;
    a = 1;
    for (i = 2; i <= n; i++) {
      cin >> val;
      if (val < prvi) {
        prvi = val;
        a = i;
      } else {
        drugi = val;
        b = i;
        break;
      }
    }
    if (i == n + 1) {
      cout << "NO\n";
      continue;
    }
    naso = 0;
    for (k = i + 1; k <= n; k++) {
      cin >> val;
      if (val < drugi) {
        c = k;
        naso = 1;
        break;
      } else {
        drugi = val;
        b = k;
      }
    }
    if (naso == 1) {
      cout << "YES\n";
      cout << a << " " << b << " " << c << endl;
      for (i = k + 1; i <= n; i++) cin >> val;
    } else
      cout << "NO\n";
  }
  return 0;
}
