fixed an error in pcapwrappertest