#include <bits/stdc++.h>
using namespace std;
const double pi = 2 * acos(0.0);
const int INF = 0x3f3f3f3f;
const double inf = 1.0 / 0.0;
void solve();
void bsb() {
  ios::sync_with_stdio(false);
  cin.tie(0);
}
int main() {
  bsb();
  int t = 1;
  cin >> t;
  while (t--) {
    solve();
    cout << "\n";
  }
  cerr << "time taken : " << (float)clock() / CLOCKS_PER_SEC << " secs"
       << "\n";
  return 0;
}
void solve() {
  long long n;
  cin >> n;
  std::vector<long long> a(n);
  for (int i = 0; i < n; i++) cin >> a[i];
  bool f = false;
  long long I = -1, J = -1, K = -1;
  for (int i = 0; i < n; i++) {
    long long j = i + 1;
    long long k = j + 1;
    if (a[i] < a[j] and a[j] > a[k]) {
      f = true;
      I = i, J = j, K = k;
      break;
    }
  }
  if (f)
    cout << "YES"
         << "\n"
         << I + 1 << " " << J + 1 << " " << K + 1;
  else
    cout << "NO";
}
