#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    long long ar[n];
    for (long long i = 0; i < n; i++) cin >> ar[i];
    long long flag1 = 0, flag2 = 0;
    long long a, b, c;
    for (long long i = 1; i < n - 1; i++) {
      b = i + 1;
      for (long long j = i - 1; j >= 0; j--) {
        if (ar[i] > ar[j]) {
          flag1 = 1;
          a = j + 1;
          break;
        }
      }
      for (long long j = i + 1; j < n; j++) {
        if (ar[i] > ar[j]) {
          flag2 = 1;
          c = j + 1;
          break;
        }
      }
      if (flag1 == 1 && flag2 == 1) {
        cout << "YES" << endl;
        cout << a << " " << b << " " << c;
        break;
      } else {
        flag1 = 0;
        flag2 = 0;
      }
    }
    if (flag1 == 0 || flag2 == 0) cout << "NO";
    cout << endl;
  }
}
