function createFailureStub(some) {
  return sinon.stub().returns(Promise.reject(new Error('test')))
}
Create a Sinon stub that returns with a rejected Promise Object
constaining an Error object with the message "test"

@returns {Sinon.stub}
@param some