Added some additional coverage on the PayloadSerializer.