Javascript testing for pcap added. Need more tests.