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