public key test