golint, gofmt: helper.go, misc_test.go