Tests for Payload Serialization