more tests around prepared statements and consistencies