beforeeach Allows you to run a function before each test, since Go doesn't provide that functionality. See beforeeach.go