Golang helpers for testing interactions with an HTTP API