#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int i = -1, j = -1, k = -1, a[n];
    for (int l = 0; l < n; l++) {
      cin >> a[l];
    }
    for (int l = 1; l < n - 1; l++) {
      j = l;
      for (int m = j - 1; m >= 0; m--) {
        if (a[m] < a[j]) {
          i = m;
          break;
        }
      }
      for (int p = j + 1; p < n; p++) {
        if (a[p] < a[j]) {
          k = p;
          break;
        }
      }
      if (i != -1 && k != -1) {
        cout << "YES\n" << i + 1 << " " << j + 1 << " " << k + 1 << "\n";
        break;
      } else {
        i = -1;
        k = -1;
      }
    }
    if (i == -1 or k == -1) {
      cout << "NO"
           << "\n";
    }
  }
}
