cgo: updated test-script