Crude hacks to get the ability to verify expectations on a prepared statement