Implemented packet testing.