Automatic Testing Curve Matching