payload marshalling, unmarshalling tests.