#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    double n, W, w[200001], somma = 0, a[200001];
    int indice = 0;
    bool ok = false;
    cin >> n >> W;
    for (int i = 0; i < n; i++) cin >> w[i];
    for (int i = 0; i < n && !ok; i++) {
      if ((w[i] >= ceil(W / 2)) && (w[i] <= W)) {
        cout << 1 << endl << i + 1 << endl;
        ok = true;
      } else if (w[i] < ceil(W / 2)) {
        somma += w[i];
        a[indice] = i + 1;
        indice++;
        if (somma >= W / 2) {
          cout << indice << endl;
          for (int j = 0; j < indice; j++) cout << a[j] << " ";
          cout << endl;
          ok = true;
        }
      }
    }
    if (!ok) cout << -1 << endl;
  }
  return 0;
}
