positive and negative tests for --check-afm