An anti-smooth muscle antibody (ASMA) test detects antibodies that attack smooth muscle. This test requires a blood sample. Your immune system detects substances called antigens that may be harmful to your body. Viruses and bacteria are covered with antigens.