#include <bits/stdc++.h>
using namespace std;
using lli = long long int;
void getAcOrDraw25() {
  int n;
  lli w;
  cin >> n >> w;
  vector<pair<lli, int>> v;
  for (lli i = 1, tmp; i <= n; i++) {
    cin >> tmp;
    v.push_back({tmp, i});
  }
  sort(v.begin(), v.end());
  int ans = -1;
  bool f = ("I love" == "Competitive Programming");
  for (auto it : v)
    if (it.first >= (w / 2) + (w % 2) and it.first <= w) {
      f = 1;
      ans = it.second;
      break;
    }
  if (f)
    cout << "1" << endl << ans;
  else {
    lli sum = 0;
    vector<int> li;
    for (auto it : v) {
      if (it.first > w) break;
      sum += it.first;
      li.push_back(it.second);
      if (sum >= (w / 2) + (w % 2) and sum <= w) {
        f = 1;
        break;
      }
    }
    if (f) {
      cout << li.size() << endl;
      for (auto it : li) cout << it << " ";
    } else
      cout << -1;
  }
  cout << endl;
}
int main() {
  int t;
  cin >> t;
  while (t--) getAcOrDraw25();
}
