func setUp() {
	f, err := ioutil.TempFile("", ".dotconfig")
	if err != nil {
		log.Fatal(err)
	}
	defer syscall.Unlink(f.Name())
	ioutil.WriteFile(
		f.Name(),
		[]byte(payload),
		0644,
	)
	_, err = NewConfig(f.Name())
	if err != nil {
		log.Fatal(err)
	}
}
setUp() will create a config file for the other tests so we can test the
methods associated with the config struct
package main
import (
	"io/ioutil"
	"log"
	"os"
	"syscall"
	"testing"
)
const payload string = `
{
	"dot_path": "/path/to/dotfiles",
	"files": {
		"test_file_1": "path-to-test-file-1",
		"test_file_2": "path-to-test-file-2"
	}
}
`
func TestMain(m *testing.M) {
	setUp()
	retCode := m.Run()
	os.Exit(retCode)
}