packet: adds regression test