add: test for packeter.dump_packet