#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int arr[n];
    for (int i = 0; i < n; i++) {
      cin >> arr[i];
    }
    bool flag = false;
    for (int i = 1; i < n - 1; i++) {
      bool back = false, front = false;
      int x, y;
      for (int j = i - 1; j >= 0; j--) {
        if (arr[j] < arr[i]) {
          back = true;
          x = j;
          break;
        }
      }
      for (int k = i + 1; k < n; k++) {
        if (arr[k] < arr[i]) {
          front = true;
          y = k;
          break;
        }
      }
      if (back && front) {
        cout << "YES\n";
        cout << x + 1 << " " << i + 1 << " " << y + 1 << "\n";
        flag = true;
        break;
      }
    }
    if (!flag) {
      cout << "NO\n";
    }
  }
  return 0;
}
