adding integraion test for prepared statements