update packeter test codes