add fix for test units with the big help from upstream clamav developer Micah Snyder <micasnyd@cisco.com>