porting the first prepared statement test