provide tests for the parse_handshake_length function