Add a test for the TLSv1.3 state machine