#include <bits/stdc++.h>
using namespace std;
void func() {
  long long int n, w;
  cin >> n >> w;
  long long int i, j, k, l;
  vector<pair<long long int, long long int>> a(n);
  for (i = 0; i < n; i++) {
    cin >> a[i].first;
    a[i].second = i;
  }
  sort(a.begin(), a.end());
  ;
  long long int atleast = ((w + 1) / 2);
  ;
  for (i = 0; i < n; i++) {
    if (a[i].first >= atleast && a[i].first <= w) {
      cout << "1" << endl;
      cout << a[i].second + 1 << endl;
      return;
    }
  }
  long long int curr = 0;
  vector<long long int> bhai;
  for (i = 0; i < n; i++) {
    if (a[i].first > w) break;
    curr += a[i].first;
    bhai.push_back(a[i].second + 1);
    if (curr >= atleast && curr <= w) {
      cout << bhai.size() << endl;
      for (auto it : bhai) {
        cout << it << " ";
      }
      cout << endl;
      return;
    }
  }
  cout << "-1" << endl;
}
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  clock_t t1 = clock();
  long long int t = 1;
  cin >> t;
  while (t--) {
    func();
  }
  clock_t t2 = clock();
  return 0;
}
