cmd/test2influxdb: modify test to invoke run
cmd/test2influxdb: modify test to invoke run

Rename and modify the test that uses go test results so that it invokes
the run function instead of parseTestOutput directly.

Change-Id: Ic1cad3747e3ef45772b3f4e64a633576cd5c5ea3

aristanetworks/goarista,aristanetworks/goarista