#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a, s, d, g, k, summ, qq;
  cin >> a;
  for (int i = 0; i < a; ++i) {
    cin >> s >> d;
    vector<long long> nya(0);
    vector<int> nya2(0);
    summ = 0;
    k = (d + 1) / 2;
    qq = 0;
    for (int j = 0; j < s; ++j) {
      cin >> g;
      if (qq == 0) {
        if (g >= k and g <= d) {
          cout << 1 << endl << (j + 1) << endl;
          qq = 1;
        } else if (g < k) {
          nya.push_back(g);
          nya2.push_back(j);
        }
      }
    }
    long long zz = 1;
    long long size = nya.size();
    summ = 0;
    if (qq == 0) {
      for (; zz <= size; zz++) {
        summ += nya[zz - 1];
        if (summ >= k) {
          cout << zz << endl;
          for (int y = 0; y < zz; ++y) {
            cout << nya2[y] + 1 << " ";
          }
          cout << endl;
          break;
        }
      }
      if (summ < k) {
        cout << -1 << endl;
      }
    }
  }
  return 0;
}
