Hi @tosulc,
I am happy to hear you were able to resolve the issue by passing your arguments for the query as varargs, sorry for the troubling behavior. I suspect when you are invoking the query with arrayOf(...), it may be dispatching to the other override for rawQuery which will accept a String[] as arguments. In that situation, each parameter will be bound as a String value using sqlite3_bind_text16, but if your column for testIntegerId has a column of type INTEGER, the query would not resolve properly to the record you are searching for. As you have observed, when you utilize rawQuery with varargs, each parameter type is inspected during the binding operation. In your case, the testIntegerId would be bound using sqlite3_bind_int64.
As an aside, since you are just updating to sqlcipher-android, you may wish to update to the latest release which is currently 4.9.0.