add the go test code

add the go test code