finished e2e tests for handshake