Add private/public key conversion tests