I'm not familiar with the library or function, but the error message implies that you are passing a function as a parameter where an Int32 is expected. And in fact you are passing a lambda function (the "=>") as the parameter to Destroy. So the first thing to check is if Destroy really wants a function, or an Integer.
If that's not it, note that the lambda function is retuning a bool (the result of a == comparison), but the error implies that an Int32 is wanted. You might have to convert your bool to int, which you could easily do with the ?: operator like this:
x => ((x.TestId == _testId) ? 1 : 0)
But of course, both answers depend on what the Destroy parameter is actually expecting.