func Test2A_Register(t *testing.T) {
	fmt.Println("Test 2A: Register")
	tries := 3
	for tries > 0 {
		rand.Seed(time.Now().UTC().UnixNano())
		randNum := rand.Intn(990000) + 10000
		user = fmt.Sprintf("test%d", randNum)
		fmt.Println(user)
		responseCode, body, err := Register(masterEndpoint, user, password)
		if err != nil {
			log.Print(err)
			t.FailNow()
		}
		fmt.Printf("register response: status %d, body %s\n", responseCode, body)
		if responseCode == 200 {
			var resp request.LoginResponse
			json.Unmarshal([]byte(body), &resp)
			if resp.SessionKey != "" {
				sessionKey = resp.SessionKey
				characterIds = resp.CharacterIDs
				return
			}
		}
		tries = tries - 1
	}
	log.Print("all register tries used")
	t.Fail()
}
Test 2A: Register
HTTP POST /clients/register
package client
import (
	"bytes"
	"encoding/json"
	"fmt"
	"log"
	"math/rand"
	"net/http"
	"testing"
	"github.com/jaybennett89/thorium-go/model"
	"github.com/jaybennett89/thorium-go/requests"
	"time"
)
var masterEndpoint = "localhost:6960"
var sessionKey string
var characterIds []int
var gameList []model.Game
var gameId int
var gameServerAddress string
var gameServerPort int
var user string = "test"
var password string = "test"
func Test1A_Ping(t *testing.T) {
	statusCode, _, err := GetStatus(masterEndpoint)
	if err != nil {
		t.Fail()
	} else if statusCode != 200 {
		log.Printf("recieved bad status code %d", statusCode)
		t.Fail()
	} else {
		log.Print("Test 1A Success")
	}
}