#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    long long n, w;
    cin >> n >> w;
    vector<long long> arr(n);
    vector<pair<long long, long long> > a(n);
    for (int i = 0; i < n; i++) {
      long long x;
      cin >> x;
      a[i] = {x, i + 1};
    }
    sort(arr.begin(), arr.end());
    sort(a.begin(), a.end());
    reverse(a.begin(), a.end());
    reverse(arr.begin(), arr.end());
    long long sum = 0;
    vector<long long> q;
    bool flag = false;
    for (int i = 0; i < n; i++) {
      if (a[i].first > w) continue;
      sum += a[i].first;
      q.push_back(a[i].second);
      if (sum >= (w / 2 + w % 2)) {
        flag = true;
        break;
      }
    }
    if (flag) {
      cout << q.size() << "\n";
      sort(q.begin(), q.end());
      for (auto s : q) {
        cout << s << " ";
      }
      cout << "\n";
    } else
      cout << "-1\n";
  }
}
