#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1e9 + 7;
const long long int N = 1e5 + 5;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int i, j, tc;
  cin >> tc;
  while (tc--) {
    long long int n, w;
    cin >> n >> w;
    long long int a[n];
    for (i = 0; i < n; i++) {
      cin >> a[i];
    }
    vector<long long int> v;
    for (i = 0; i < n; i++) {
      if (a[i] <= w && a[i] >= (w + 1) / 2) {
        v.push_back(i + 1);
        break;
      }
    }
    if (v.size() == 1) {
      cout << 1 << "\n";
      cout << v[0] << "\n";
      continue;
    }
    long long int sum = 0;
    for (i = 0; i < n; i++) {
      if (a[i] <= w) {
        sum += a[i];
        v.push_back(i + 1);
        if (sum >= (w + 1) / 2) break;
      }
    }
    if (sum >= (w + 1) / 2 && sum <= w) {
      cout << v.size() << "\n";
      for (i = 0; i < v.size(); i++) cout << v[i] << " ";
      cout << "\n";
    } else
      cout << -1 << "\n";
  }
  return 0;
}
