#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    long long int n, m, x, ans = 0, c = 0, f = 1, min = 1000, k, sum = 0;
    cin >> n >> k;
    set<pair<long long int, long long int>> s;
    vector<long long int> v;
    pair<long long int, long long int> p;
    for (long long int i = 0; i < n; i++) {
      cin >> x;
      s.insert({x, i});
    }
    while (true) {
      if (s.size() == 0) break;
      p = {(k + 1) / 2 - ans, 0};
      auto it = s.lower_bound(p);
      if (it->first + ans <= k && it != s.end()) {
        ans = ans + it->first;
        v.push_back(it->second);
        break;
      } else {
        it = s.begin();
        ans = ans + it->first;
        if (ans > k) {
          f = 0;
          break;
        }
        v.push_back(it->second);
        s.erase(it);
      }
    }
    if (v.size() == 0 || f == 0)
      cout << "-1\n";
    else {
      if (ans < (k + 1) / 2)
        cout << "-1\n";
      else {
        cout << v.size() << "\n";
        for (auto y : v) cout << y + 1 << " ";
        cout << "\n";
      }
    }
  }
  return 0;
}
