#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    vector<long long int> v;
    vector<long long int> p, g;
    long long int n, k, sum = 0;
    cin >> n >> k;
    long long int a[n];
    long long int c = (k + 1) / 2;
    for (long long int i = 0; i < n; i++) {
      cin >> a[i];
    }
    for (long long int i = 0; i < n; i++) {
      if (a[i] >= c && a[i] <= k) {
        sum = a[i];
        v.clear();
        v.push_back(i + 1);
        break;
      } else if (a[i] < c) {
        if ((sum + a[i]) >= c) {
          v.push_back(i + 1);
          sum += a[i];
          break;
        } else {
          sum += a[i];
          v.push_back(i + 1);
        }
      }
    }
    if (sum < c)
      cout << -1 << endl;
    else {
      cout << v.size() << endl;
      for (long long int i = 0; i < v.size(); i++) {
        cout << v[i] << " ";
      }
      cout << endl;
    }
  }
}
