test pushing a packet.
fixed test, nice get_data_packet implementation.