Adds serializer tests, switches from Digest to OpenSSL