Added test for the matching engine