Test that EVP_PKEY_set1_DH() correctly identifies the DH type