#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, w, t, x, hf;
  cin >> t;
  while (t) {
    t--;
    cin >> n >> w;
    hf = (w + 1) / 2;
    vector<long long> ans;
    long long hm = -1;
    long long sum = 0;
    for (long long i = 0; i < n; i++) {
      cin >> x;
      if (x >= hf && x <= w) {
        hm = i + 1;
      } else if (x < hf && sum < hf) {
        sum += x;
        ans.push_back(i + 1);
      }
    }
    if (sum < hf && hm == -1) {
      cout << -1 << endl;
    } else if (hm != -1) {
      cout << 1 << endl << hm << endl;
    } else {
      cout << ans.size() << endl;
      for (long long i = 0; i < ans.size(); i++) {
        cout << ans[i] << " ";
      }
      cout << endl;
    }
  }
  return 0;
}
