test pluggable serializer