Helpers for testing REST APIs in Golang