#include <bits/stdc++.h>
using namespace std;
const int Mod = 1e9 + 7;
bool isPowerOfTwo(int x) { return x && (!(x & (x - 1))); }
long long int pow(long long int x, long long int y, long long int mod) {
  int ans = 1;
  while (y) {
    if (y & 1) ans = (ans * x) % mod;
    y /= 2;
    x = (x * x) % mod;
  }
  return ans;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long int t, n, i, j, k, flag1, flag2, aa, bb, cc;
  cin >> t;
  while (t--) {
    flag1 = 0;
    flag2 = 0;
    cin >> n;
    long long int a[n];
    for (i = 0; i < n; i++) {
      cin >> a[i];
    }
    for (i = 0; i < n - 1; i++) {
      if (a[i] < a[i + 1]) {
        aa = i;
        bb = i + 1;
        flag1 = 1;
        break;
      }
    }
    if (flag1 == 0) {
      cout << "NO" << endl;
      continue;
    }
    for (i = bb; i < n - 1; i++) {
      if (a[i] > a[i + 1]) {
        bb = i;
        cc = i + 1;
        flag2 = 1;
        break;
      }
    }
    if (flag2 == 0) {
      cout << "NO" << endl;
      continue;
    }
    cout << "YES" << endl;
    cout << aa + 1 << " " << bb + 1 << " " << cc + 1 << endl;
  }
}
