lost testmod's source. i'll re-write it later
update packet registry