Fix tests after grpcio update (#5333)

* Fix tests after grpcio update
* add test for close stub for coverage
2 files changed