The test should expect all prepared statements to fail. This needs to be changed for 2.1 and newer versions.
Added tests from develop. The test results need to be modified for 2.0.