add: testing codes for accept a ping packet