#include <bits/stdc++.h>
using namespace std;
long long int ltr(long long int n, vector<long long int> &A) {
  for (int i = 0; i < n; i++) {
    if (A[n] > A[i]) return i;
  }
  return -1;
}
long long int rtl(long long int n, vector<long long int> &A) {
  for (int i = n + 1; i < A.size(); i++) {
    if (A[n] > A[i]) return i;
  }
  return -1;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int t;
  cin >> t;
  while (t--) {
    long long int n;
    cin >> n;
    vector<long long int> A(n);
    for (auto &x : A) cin >> x;
    bool found = false;
    for (int i = 1; i < n - 1; i++) {
      long long int x = ltr(i, A);
      long long int y = rtl(i, A);
      if (x != -1 && y != -1) {
        cout << "YES\n";
        cout << x + 1 << " " << i + 1 << " " << y + 1 << "\n";
        found = true;
        break;
      }
    }
    if (!found) cout << "NO\n";
  }
  return 0;
}
