better handshake testcase
normalized parsing