#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    long long W;
    cin >> n >> W;
    int w[n];
    int f = 0;
    for (int i = 0; i < n; i++) cin >> w[i];
    for (int i = 0; i < n; i++) {
      if (w[i] >= (W + 1) / 2 && w[i] <= W) {
        printf("1\n%d\n", i + 1);
        f = 1;
        break;
      }
    }
    if (f == 1) continue;
    long long C = 0;
    vector<int> v;
    for (int i = 0; i < n; i++) {
      if (w[i] <= (W + 1) / 2) {
        C += w[i];
        v.push_back(i + 1);
      }
      if (C >= (W + 1) / 2) break;
    }
    if (C < (W + 1) / 2)
      cout << "-1\n";
    else {
      cout << v.size() << "\n";
      for (int i = 0; i < v.size(); i++) cout << v[i] << " ";
      cout << "\n";
    }
  }
}
