Add some serializer tests