#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long t;
  cin >> t;
  while (t--) {
    long long n, w;
    cin >> n >> w;
    long long i;
    long long a[n], ok = -1, sum = 0;
    long long rafi = (w + 1) / 2;
    vector<long long> v;
    for (i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] >= rafi && a[i] <= w)
        ok = i + 1;
      else if (a[i] < rafi && sum < rafi) {
        sum += a[i];
        v.push_back(i + 1);
      }
    }
    if (ok != -1) {
      cout << "1" << endl << ok << endl;
    } else if (v.size() == 0 || sum < rafi)
      cout << "-1" << endl;
    else {
      cout << v.size() << endl;
      for (i = 0; i < v.size(); i++) cout << v[i] << " ";
      cout << endl;
    }
  }
}
