Testing serializer code