#include <bits/stdc++.h>
using namespace std;
long long n, w;
long long a[2000005];
int ans[2000005];
int main() {
  int t;
  scanf("%d", &t);
  while (t--) {
    scanf("%lld%lld", &n, &w);
    long long tmp = (w + 1) / 2;
    int cnt = 0;
    bool flag = false;
    long long sum = 0;
    for (int i = 1; i <= n; i++) scanf("%lld", &a[i]);
    for (int i = 1; i <= n; i++) {
      if (flag) continue;
      if (a[i] >= tmp && a[i] <= w) {
        flag = true;
        cnt = 1;
        ans[cnt] = i;
      } else if (a[i] < tmp && a[i] + sum <= w) {
        ans[++cnt] = i;
        sum += a[i];
        if (sum >= tmp) flag = true;
      }
    }
    if (cnt == 0 || !flag) {
      printf("-1\n");
      continue;
    }
    printf("%d\n", cnt);
    for (int i = 1; i <= cnt; i++) {
      if (i != 1) printf(" ");
      printf("%d", ans[i]);
    }
    printf("\n");
  }
}
