test public key