Added tests from other p-matching repo.