func TestGetDataAndParseResponse(t *testing.T) {
	err := addNameAndParseResponse("Electric")
	if err != nil {
		t.Fatal(err)
	}
	err = addNameAndParseResponse("Boogaloo")
	if err != nil {
		t.Fatal(err)
	}
	names := getDataAndParseResponse()
	if len(names) != 2 {
		t.Error("values don't match")
	}
}
TestGetDataAndParseResponse requires the server to be running to succeed
package main
import (
	"testing"
)