testing prepared statement