add two speed tests for connection and disconnection
Merge pull request #87 from ChenHuajun/connecttest

add two speed tests for connection and disconnection