[JBJCA-1151] Allow testConnection() without statistics enabled