    @Test
    public void testIpLengths() throws Exception {

        final List<IPv4Packet> ipPackets = loadIPPackets("sipp.pcap");
        assertThat(ipPackets.get(0).getTotalIPLength(), is(533));
        assertThat(ipPackets.get(1).getTotalIPLength(), is(334));
        assertThat(ipPackets.get(2).getTotalIPLength(), is(493));
        assertThat(ipPackets.get(3).getTotalIPLength(), is(384));
        assertThat(ipPackets.get(4).getTotalIPLength(), is(533));
        assertThat(ipPackets.get(5).getTotalIPLength(), is(334));
        assertThat(ipPackets.get(6).getTotalIPLength(), is(493));
        assertThat(ipPackets.get(7).getTotalIPLength(), is(384));
        assertThat(ipPackets.get(8).getTotalIPLength(), is(384));
        assertThat(ipPackets.get(9).getTotalIPLength(), is(326));
        assertThat(ipPackets.get(10).getTotalIPLength(), is(533));
        assertThat(ipPackets.get(11).getTotalIPLength(), is(334));
        assertThat(ipPackets.get(12).getTotalIPLength(), is(493));
        assertThat(ipPackets.get(13).getTotalIPLength(), is(384));
        assertThat(ipPackets.get(14).getTotalIPLength(), is(384));
        assertThat(ipPackets.get(15).getTotalIPLength(), is(326));
        assertThat(ipPackets.get(16).getTotalIPLength(), is(533));
        assertThat(ipPackets.get(17).getTotalIPLength(), is(334));
    }