Added Packet unit tests.