tests for prepared statement fix