#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int t;
  cin >> t;
  while (t--) {
    long long int n;
    cin >> n;
    long long int a[n + 1];
    for (long long int i = 0; i < n; i++) {
      cin >> a[i];
    }
    long long int x, y, z, e = 0;
    for (long long int j = 1; j < n - 1; j++) {
      long long int c = 0, d = 0;
      for (long long int i = j - 1; i >= 0; i--) {
        if (a[i] < a[j]) {
          x = i;
          c++;
          break;
        }
      }
      for (long long int k = j + 1; k < n; k++) {
        if (a[k] < a[j]) {
          y = k;
          d++;
          break;
        }
      }
      if (c == 1 && d == 1) {
        z = j;
        cout << "YES" << endl;
        cout << x + 1 << " " << z + 1 << " " << y + 1 << endl;
        e++;
        break;
      }
    }
    if (e == 0) cout << "NO" << endl;
  }
  return 0;
}
