add fix for test units with the big help from upstream clamav developer Micah Snyder micasnyd@cisco.com backported to v3.10