Testing JDBC Connections with Java Applications