Update asyntest.go

modify to test new API function.