#include <bits/stdc++.h>
using namespace std;
long long ans[200000];
long long a[200000];
long long sum;
long long bag;
int main() {
  long long n, num;
  scanf("%lld", &n);
  while (n--) {
    sum = 0;
    scanf("%lld%lld", &num, &bag);
    int len = 0;
    bool mark = 0;
    for (long long k = 1; k <= num; k++) scanf("%lld", &a[k]);
    for (long long k = 1; k <= num; k++) {
      if (a[k] >= 1.0 * bag / 2 && a[k] <= bag) {
        printf("1\n%lld\n", k);
        mark = 1;
        break;
      }
      if (a[k] < 1.0 * bag / 2) {
        ans[++len] = k;
        sum += a[k];
      }
      if (sum >= 1.0 * bag / 2) break;
    }
    if (!mark) {
      if (sum < 1.0 * bag / 2)
        cout << -1 << endl;
      else {
        printf("%d\n", len);
        for (int j = 1; j <= len; j++) printf("%lld ", ans[j]);
        cout << endl;
      }
    }
  }
  return 0;
}
