Add a test for the TLS1.3 secret generation