#include <bits/stdc++.h>
using namespace std;
const long long OO = 1000000000000000000LL;
void solve() {
  long long n, nbRestants;
  cin >> n >> nbRestants;
  long long nbPairs = 0, nbImpaires = 0;
  for (long long i = 0; i < n; i++) {
    long long a;
    cin >> a;
    if (a % 2 == 0)
      nbPairs++;
    else
      nbImpaires++;
  }
  if (nbImpaires == 0) {
    cout << "No\n";
    return;
  }
  nbRestants--;
  nbImpaires--;
  while (nbImpaires > 1 && nbRestants > 1) {
    nbRestants -= 2;
    nbImpaires -= 2;
  }
  while (nbPairs > 0 && nbRestants > 0) {
    nbPairs--;
    nbRestants--;
  }
  if (nbRestants == 0)
    cout << "Yes\n";
  else
    cout << "No\n";
}
long long nbTests = 1;
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> nbTests;
  for (long long iTest = 0; iTest < nbTests; iTest++) solve();
}
