Packet Assemebler and tests