function assertExpectedResult({ data, count, keyPrefix, extraValues }) {
  const expectedResult = { acknowledged: true, ...extraValues }
  if (count) {
    expectedResult[`${keyPrefix}Count`] = count
  }
  assert.deepEqual(data, expectedResult)
}
The response from the methods in this file differ between versions
This helper decides which pieces to assert

@param {Object} params
@param {Object} params.data result from callback used to assert
@param {Number} params.count, optional
@param {string} params.keyPrefix prefix where the count exists
@param {Object} params.extraValues extra fields to assert on >=4.0.0 version of module
@param params.count