Enhancing tests.\n\nAbstract all the similar connection tests for clients.\nAdd RPC communication tests for gevent version.