Pcap append test

Unit tests must be written to check that pcap are appended correctly when reqeusted.