test for error treatment.
error occured at prepare statement
fix error test