Add functional test for pickle serialized message