Fixed up and wrote a test class for the RFPacket.