fix malware test for py3