Canonical Testing for Data-Matching