#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL);
  long long t;
  cin >> t;
  while (t--) {
    long long i, n, j, u, w, k = 0;
    cin >> n >> w;
    std::vector<pair<long long, long long> > v;
    u = w / 2 + w % 2;
    for (i = 1; i <= n; i++) {
      long long x;
      cin >> x;
      if (x > w) continue;
      v.push_back({x, i});
    }
    sort(v.begin(), v.end(), greater<pair<long long, long long> >());
    vector<long long> ans;
    for (i = 0; i < v.size(); i++) {
      k += v[i].first;
      ans.push_back(v[i].second);
      if (k >= u) break;
    }
    if (k < u) {
      cout << "-1\n";
      continue;
    }
    cout << ans.size() << "\n";
    for (i = 0; i < ans.size(); i++) cout << ans[i] << " ";
    cout << "\n";
  }
}
