#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int t;
  cin >> t;
  while (t--) {
    long long int n, w;
    cin >> n >> w;
    vector<long long int> v(n), k;
    for (long long int i = 0; i <= n - 1; i++) {
      cin >> v[i];
    }
    long long int ww = w / 2 + w % 2;
    long long int sum = 0;
    bool my = false;
    for (long long int i = 0; i <= n - 1; i++) {
      if (v[i] <= w && v[i] >= ww) {
        cout << 1 << endl;
        cout << i + 1 << endl;
        my = true;
        break;
      }
      if (v[i] < ww) {
        sum += v[i];
        k.push_back(i);
        if (sum >= ww && sum <= w) {
          my = true;
          cout << k.size() << endl;
          for (long long int i = 0; i <= k.size() - 1; i++) {
            cout << k[i] + 1 << " ";
          }
          cout << endl;
          break;
        }
      }
    }
    if (my == false) {
      cout << -1 << endl;
    }
  }
}
