test cgo and getcontext/setcontext