Sometimes there is a need to test an antivirus (clamav, for instance). Fortunately, almost all modern antviruses detect eicar test virus. Actually it’s just a text file with special text. You can send it to your mail server to check if it perform antivirus checking.