#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  for (int i = 0; i < t; i++) {
    int n;
    long long x;
    cin >> n >> x;
    pair<long long, int> a[n];
    for (int i = 0; i < n; i++) {
      cin >> a[i].first;
      a[i].second = i;
    }
    sort(a, a + n);
    long long y = (x + 1) / 2;
    vector<int> index;
    long long sum = 0;
    bool flag = false;
    for (int i = n - 1; i >= 0; i--) {
      if (a[i].first <= x) {
        sum += a[i].first;
        index.push_back(a[i].second);
        if (sum <= x && sum >= y) {
          flag = true;
          break;
        }
      }
      if (flag) break;
    }
    if (!flag)
      cout << "-1" << endl;
    else {
      cout << index.size() << endl;
      for (int i = 0; i < index.size(); i++) {
        cout << index[i] + 1 << " ";
      }
      cout << endl;
    }
  }
  return 0;
}
