#include <bits/stdc++.h>
using namespace std;
const long long int N = 3e5 + 7;
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long int t;
  cin >> t;
  while (t--) {
    long long int n, w;
    cin >> n >> w;
    vector<pair<long long int, long long int>> v(n);
    for (long long int i = 0; i < n; i++) {
      long long int x;
      cin >> x;
      v[i].first = x;
      v[i].second = i + 1;
    }
    sort(v.begin(), v.end());
    long long int p = (w + 1) / 2;
    long long int ans = 0;
    long long int sum;
    long long int flag = 0;
    vector<long long int> pks;
    for (long long int i = n - 1; i >= 0; i--) {
      if (v[i].first > w)
        continue;
      else if (v[i].first >= p && v[i].first <= w) {
        flag = 1;
        pks.push_back(v[i].second);
        break;
      } else {
        sum = v[i].first;
        pks.push_back(v[i].second);
        i--;
        while (i >= 0 && !(sum >= p && sum <= w)) {
          sum += v[i].first;
          pks.push_back(v[i].second);
          i--;
        }
        if (sum >= p && sum <= w) {
          flag = 1;
          break;
        }
      }
    }
    if (flag == 0)
      cout << "-1" << endl;
    else {
      cout << pks.size() << endl;
      sort(pks.begin(), pks.end());
      for (long long int i = 0; i < pks.size(); i++) cout << pks[i] << " ";
      cout << endl;
    }
  }
  return 0;
}
