added more test cases for handshake