Added [Serializer] encode/decode tests