update tests for paillier encryption.