Prepared statement testing