test piping to dd to get data length