#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  vector<int> v(n);
  for (int i = 0; i < n; ++i) {
    cin >> v[i];
  }
  bool gotAns = false;
  int l, m, r;
  for (int i = 1; i < n - 1; ++i) {
    bool lgot = false;
    for (int j = i - 1; j >= 0; j--) {
      if (v[j] < v[i]) {
        l = j;
        lgot = true;
        break;
      }
    }
    bool rgot = false;
    for (int j = i + 1; j < n; ++j) {
      if (v[j] < v[i]) {
        r = j;
        rgot = true;
        break;
      }
    }
    if (lgot && rgot) {
      m = i;
      gotAns = true;
      break;
    }
  }
  if (!gotAns) {
    cout << "NO" << '\n';
  } else {
    cout << "YES" << '\n';
    cout << l + 1 << " " << m + 1 << " " << r + 1 << '\n';
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int t;
  cin >> t;
  while (t--) {
    solve();
  }
  return 0;
}
