Added test cases for JDBC.