* chore: updated influxdb-client dependency to 1.8.0, fixed testing write for InfluxDB v2 * fix: code style