add testApi.go and other files