#include <bits/stdc++.h>
using namespace std;
long long int arr[1000000];
vector<long long int> v;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int T;
  long long int n, t;
  cin >> T;
  while (T--) {
    cin >> n;
    for (int i = 0; i < n; i += 1) {
      cin >> t;
      v.push_back(t);
    }
    long long int f = 0;
    long long int m = 0;
    while (v[m] >= v[m + 1] && m + 1 < v.size()) m++;
    m -= 1;
    if (m < 0) m = 0;
    long long int p = n - 1;
    while (v[p] >= v[p - 1] && p - 1 >= 0) {
      p--;
    }
    for (int i = m; i <= p; i++) {
      for (int j = i + 1; j <= p; j++) {
        if (v[i] < v[j]) {
          for (int k = j + 1; k <= p; k++) {
            if (v[j] > v[k]) {
              cout << "YES"
                   << "\n";
              cout << i + 1 << " " << j + 1 << " " << k + 1 << "\n";
              f = 1;
            }
            if (f) break;
          }
        }
        if (f) break;
      }
      if (f) break;
    }
    if (f == 0)
      cout << "NO"
           << "\n";
    v.clear();
  }
}
