Fixed tests to use new PortAgentPacket subclass.