3978. [test] Added a unit test for Diffie-Hellman key computation, completing change #3974. [RT #37477]