#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  vector<int> a(n);
  int a1, b, c, k;
  for (int i = 0; i < n; ++i) cin >> a[i];
  for (int i = 0; i < n - 1; ++i) {
    k = 0;
    a1 = i;
    for (int j = i + 1; j < n; ++j) {
      if (!k && a[i] < a[j]) {
        k = 1;
        b = j;
        continue;
      }
      if (k == 1 && a[b] > a[j]) {
        c = j;
        cout << "YES\n" << a1 + 1 << " " << b + 1 << " " << c + 1 << "\n";
        return;
      }
    }
  }
  cout << "NO\n";
  return;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int t;
  cin >> t;
  while (t--) solve();
  return 0;
}
