#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    vector<int> list;
    int maxx, ma;
    for (int i = 0; i < n; i++) {
      int u;
      cin >> u;
      list.push_back(u);
    }
    int u1, u2, u3;
    int flag;
    for (int i = 1; i < n - 1; i++) {
      flag = 0;
      for (int j = 0; j < i; j++) {
        if (list[i] > list[j]) {
          flag = 1;
          u1 = j;
          break;
        }
      }
      for (int j = i + 1; j < n; j++) {
        if (list[i] > list[j]) {
          if (flag == 1) {
            flag = 2;
            u2 = j;
            break;
          } else {
            break;
          }
        }
      }
      if (flag == 2) {
        u3 = i;
        break;
      }
    }
    if (flag == 2) {
      cout << "YES" << endl;
      cout << u1 + 1 << " " << u3 + 1 << " " << u2 + 1 << endl;
    } else {
      cout << "NO" << endl;
    }
  }
  return 0;
}
