adds tests to cover managing bad packet counts