add test for Diffie-Helman public key distribution