set up tests
first matching algorithm