#include <bits/stdc++.h>
using namespace std;
struct custom {
  static uint64_t splitmix64(uint64_t x) {
    x += 0x9e3779b97f4a7c15;
    x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9;
    x = (x ^ (x >> 27)) * 0x94d049bb133111eb;
    return x ^ (x >> 31);
  }
  size_t operator()(uint64_t x) const {
    static const uint64_t FIXED_RANDOM =
        chrono::steady_clock::now().time_since_epoch().count();
    return splitmix64(x + FIXED_RANDOM);
  }
};
const long long inf = 4e18;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t;
  cin >> t;
  while (t--) {
    long long n, i, a, b, c, d, x, y, r, k, m;
    cin >> n >> k;
    vector<long long> ans;
    vector<pair<long long, long long> > v;
    for (i = 1; i <= n; i++) {
      cin >> m;
      if (m > k) continue;
      v.push_back({m, i});
    }
    sort(v.begin(), v.end(), greater<pair<long long, long long> >());
    x = 0;
    c = k / 2;
    if (k % 2) c++;
    for (i = 0; i < v.size(); i++) {
      x = x + v[i].first;
      ans.push_back(v[i].second);
      if (x >= c) break;
    }
    if (x < c) {
      cout << -1 << '\n';
      continue;
    }
    cout << ans.size() << '\n';
    for (i = 0; i < ans.size(); i++) cout << ans[i] << " ";
    cout << '\n';
  }
}
