#include <bits/stdc++.h>
using namespace std;
int main() {
  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;
    int pi, pj, pk;
    for (int i = 1; i < n - 1; i++) {
      pi = i;
      bool flag1 = false;
      bool flag2 = false;
      for (int j = 0; j < i; j++) {
        if (arr[i] > arr[j]) {
          pj = j;
          flag1 = true;
          break;
        }
      }
      for (int j = n - 1; j > i; j--) {
        if (arr[i] > arr[j]) {
          pk = j;
          flag2 = true;
          break;
        }
      }
      if (flag1 == true && flag2 == true) {
        flag = true;
        break;
      }
    }
    if (flag == false)
      cout << "NO" << endl;
    else {
      cout << "YES" << endl;
      cout << pj + 1 << " " << pi + 1 << " " << pk + 1 << endl;
    }
  }
  return 0;
}
