Added equality test for Packet + unittests