Fixed failing test cases
Fixed failing test cases

Fixed failing test cases by catching appropriate exceptions and
verifying with asserts

MariaDB/mariadb-connector-j,roidelapluie/mariadb-connector-j-travis,roidelapluie/mariadb-connector-j,Mikelarg/mariadb-connector-j,roidelapluie/mariadb-connector-j,Mikelarg/mariadb-connector-j,MariaDB/mariadb-connector-j,roidelapluie/mariadb-connector-j-travis