adds several matching algorithms and tests