#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  long long t;
  cin >> t;
  while (t--) {
    long long n, w;
    cin >> n >> w;
    long long a[n];
    long long flag = -1;
    long long h = (w + 1) / 2;
    for (long long i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] >= h && a[i] <= w) {
        flag = i;
      }
    }
    if (flag != -1) {
      cout << "1\n" << flag + 1 << "\n";
      continue;
    }
    vector<pair<long long, long long>> v;
    for (long long i = 0; i < n; i++) {
      pair<long long, long long> p;
      p.first = a[i];
      p.second = i + 1;
      v.push_back(p);
    }
    vector<long long> ans;
    sort(v.begin(), v.end());
    long long sum = 0, f = 0;
    for (long long i = 0; i < n; i++) {
      long long x = v[i].first;
      sum += x;
      ans.push_back(v[i].second);
      if (sum >= h && sum <= w) {
        f = 1;
        break;
      }
    }
    sort(ans.begin(), ans.end());
    if (f == 0) {
      cout << "-1\n";
    } else {
      cout << ans.size() << "\n";
      for (long long i = 0; i < ans.size(); i++) cout << ans[i] << " ";
      cout << "\n";
    }
  }
}
