Basic JDBC tester to check network latency and prepared statement