reworks packets.py and adds trivial testcases for supported packets