go: update the client.NewRecord unit test to the new API
go: update the client.NewRecord unit test to the new API

Signed-off-by: David Scott <63c9eb0ea83039690fefa11afe17873ba8278a56@docker.com>

docker/datakit,docker/datakit,docker/datakit