test sending packets with different size