#include <bits/stdc++.h>
using namespace std;
long long int const mod = 1e9 + 7;
long long int const inf = 1e18;
long long int const mxn = 2e5 + 1;
inline void file() {}
int main() {
  file();
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int t;
  cin >> t;
  while (t--) {
    long long int n, sum;
    cin >> n >> sum;
    long long int a[n];
    long long int ans;
    long long int ok = 0;
    long long int sum1 = 0;
    vector<pair<long long int, long long int>> v;
    for (long long int i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] >= (sum + 1) / 2 && a[i] <= sum) {
        ok = 1;
        ans = i + 1;
      }
      if (a[i] < (sum + 1) / 2) v.push_back({a[i], i + 1});
    }
    if (ok) {
      cout << 1 << "\n";
      cout << ans << "\n";
      continue;
    }
    sort(v.begin(), v.end(), greater<pair<long long int, long long int>>());
    ok = 0;
    for (long long int i = 0; i < v.size(); i++) {
      sum1 += v[i].first;
      if (sum1 >= (sum + 1) / 2) {
        ok = i;
        break;
      }
    }
    if (ok) {
      cout << ok + 1 << "\n";
      for (long long int i = 0; i <= ok; i++) {
        cout << v[i].second << "\t";
      }
      cout << "\n";
    } else
      cout << -1 << "\n";
  }
}
