Add tests for recryption in PublicKey, refactoring