#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int a[n];
    for (int i = 0; i < n; i++) cin >> a[i];
    bool f3 = 0;
    int ind1, ind2, ind3;
    for (int i = 1; i < n; i++) {
      bool f1 = 0, f2 = 0;
      ind2 = i;
      for (int j = i - 1; j >= 0; j--) {
        if (a[j] < a[i]) {
          ind1 = j;
          f1 = 1;
          break;
        }
      }
      for (int j = i + 1; j < n; j++) {
        if (a[j] < a[i]) {
          ind3 = j;
          f2 = 1;
          break;
        }
      }
      if (f1 && f2) {
        f3 = 1;
        break;
      }
    }
    if (!f3)
      cout << "NO\n";
    else {
      cout << "YES\n";
      cout << ind1 + 1 << " " << ind2 + 1 << " " << ind3 + 1 << "\n";
    }
  }
  return 0;
}
