#include <bits/stdc++.h>
using namespace std;
unsigned long long int power(unsigned long long int a,
                             unsigned long long int b) {
  unsigned long long int res = 1;
  while (b != 0) {
    if (b & 1) {
      res *= a;
    }
    a = (a * a);
    b = (b / 2);
  }
  return res;
}
int32_t main() {
  unsigned long long int i, j, k, l, m, t, n;
  t = 1;
  cin >> t;
  while (t--) {
    cin >> n;
    vector<unsigned long long int> a;
    for (i = 0; i < n; i++) {
      cin >> k;
      a.push_back(k);
    }
    unsigned long long int f = 0;
    for (i = 1; i < n - 1; i++) {
      if (a[i] > a[i - 1] && a[i] > a[i + 1]) {
        cout << "YES\n";
        cout << i << " " << i + 1 << " " << i + 2 << endl;
        f = 1;
        break;
      }
    }
    if (f == 0) {
      cout << "NO\n";
    }
  }
  return 0;
}
