#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long int t, i, m, z, u, v, ans, b, c, l, q, p, j, sum, d, n, a, x, y, k,
      w, h, r;
  t = 1;
  char ch;
  string s, aa, bb, dd, rr, tt, ss = "";
  cin >> t;
  while (t--) {
    cin >> n >> w;
    m = w / 2;
    if (w % 2) m += 1;
    vector<pair<long long int, long long int>> v;
    for (i = 0; i < n; i++) {
      cin >> x;
      v.push_back(make_pair(x, i + 1));
    }
    sort(v.begin(), v.end());
    x = 0;
    vector<long long int> an;
    for (i = n - 1; i >= 0; i--) {
      if (x + v[i].first > w) continue;
      x += v[i].first;
      an.push_back(v[i].second);
      if (x >= m) break;
    }
    if (x < m)
      cout << "-1"
           << "\n";
    else {
      cout << an.size() << "\n";
      for (i = 0; i < an.size(); i++) cout << an[i] << " ";
      cout << "\n";
    }
  }
  return 0;
}
