Add unit tests for message serializers & deserializers

* Adds unit tests for verifying the pgp encryption and decryption
* Adds unit tests for verifying message serialization and deserialization