#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int t = 1;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> a(n);
    for (int i = 0; i < n; i++) {
      cin >> a[i];
    }
    int x = -1, y = -1, z = -1;
    for (int i = 1; i < n - 1; i++) {
      if (a[i - 1] < a[i] and a[i] > a[i + 1]) {
        x = i;
        y = i + 1;
        z = i + 2;
      }
    }
    if (x == -1 or y == -1 or z == -1) {
      cout << "NO\n";
    } else {
      cout << "YES\n";
      cout << x << " " << y << " " << z << "\n";
    }
  }
}
