Test fix to wait for packet