added the examples getaccess.go and gettests.go