Testing Matching Algorithms