classifier test for exact match