fix some issue
add go test
gofmt