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