#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int t, n;
  cin >> t;
  long long w, l, x, sum;
  while (t--) {
    cin >> n >> w;
    sum = 0;
    l = (w + 1LL) / 2;
    vector<int> ans;
    int z = 0;
    for (int i = 1; i <= n; i++) {
      cin >> x;
      if (x <= w && x >= l) z = i;
      if (x < l && sum < l) {
        sum += x;
        ans.push_back(i);
      }
    }
    if (z)
      cout << "1\n" << z << "\n";
    else if (sum >= l && sum <= w) {
      cout << ans.size() << "\n";
      for (int p : ans) cout << p << " ";
      cout << "\n";
    } else
      cout << "-1\n";
  }
  return 0;
}
