Add serializer test to http server.
Do not write empty string.