#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int q;
  cin >> q;
  while (q--) {
    int n;
    cin >> n;
    long long int W;
    cin >> W;
    vector<long long int> w(n);
    long long int limi = (W + 1) / 2;
    vector<pair<long long int, int>> vv;
    bool ok = false;
    int id = -1;
    for (int i = 0; i < n; i++) {
      cin >> w[i];
      if (w[i] < limi) {
        vv.push_back({w[i], i});
      } else {
        if (w[i] <= W) {
          ok = true;
          id = i + 1;
        }
      }
    }
    if (ok) {
      printf("1\n");
      printf("%d\n", id);
    } else {
      long long int sum = 0;
      vector<int> res;
      for (int i = 0; i < vv.size(); i++) {
        sum += vv[i].first;
        res.push_back(vv[i].second + 1);
        if (sum >= limi) {
          ok = true;
          break;
        }
      }
      if (!ok) {
        printf("-1\n");
      } else {
        printf("%d\n", res.size());
        for (auto p : res) {
          printf("%d ", p);
        }
        printf("\n");
      }
    }
  }
}
