A small collection of functions for Go testing.