#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int t;
  cin >> t;
  while (t--) {
    long long n, T;
    cin >> n >> T;
    vector<pair<int, int>> W;
    long long sum = 0;
    bool works = false;
    int work = -1;
    for (int i = 0; i < n; i++) {
      long long q;
      cin >> q;
      if (q <= (T + 1) / 2) {
        sum += q;
        W.push_back({q, i + 1});
      }
      if (((T + 1) / 2) <= q && q <= T) {
        works = true;
        work = i + 1;
      }
    }
    if (works) {
      cout << "1\n";
      cout << work << "\n";
    } else if (sum >= (T + 1) / 2) {
      long long s = 0;
      vector<int> ans;
      for (auto u : W) {
        if (s >= (T + 1) / 2) break;
        ans.push_back(u.second);
        s += u.first;
      }
      cout << ans.size() << "\n";
      for (auto u : ans) {
        cout << u << " ";
      }
      cout << "\n";
    } else {
      cout << "-1\n";
    }
  }
  return 0;
}
