marshalPDU() + tests